two_historybox(n) manual page
Back to the Index
Table of Contents
two_historybox - Historybox widget
package require twoHistorybox ?1.0?
two_historybox pathName ?options?
historybox is implemented
on top of the two_combobox(n)
widget. Every command entered in the text
area is appended to the command history. This history is available through
the dropdown list or through the cursor keys (like in bash). Pressing enter
will add a new command to the history and invoke whatever script has been
configured.
The two_historybox takes the same commands as the
two_combobox(n)
widget plus
- pathName
add2hist
- Add the current contents
of the combobox to the history.
- pathName
reset
- Reset the current position
in the history.
The two_combobox command takes all options of
the two_combobox(n)
entry widget plus the following options:
-command ?script?
- Run the script whenever the user hits the return key.
-max
- The maximum
number of elements within the history. Defaults to 32.
A historybox
is nothing but a combobox with some additional bindings.
Frank
J. Leitner
frank@fjl.de
two_combobox(n)
.
Table of Contents
Back to the Index