notify Make UserInput() return on any action in this widget. Normally UserInput() returns only when a button is clicked; with this option on you can make it return for other events, too, e.g. when the user selects an item in a SelectionBox ( if `opt( `notify ) is set for that SelectionBox ). Only widgets with this option set are affected. More...
notify Make UserInput() return on any action in this widget. Normally UserInput() returns only when a button is clicked; with this option on you can make it return for other events, too, e.g. when the user selects an item in a SelectionBox ( if `opt( `notify ) is set for that SelectionBox ). Only widgets with this option set are affected.
The true core of the UI interpreter: Recursively create a widget tree from the contents of "term". Most create???() functions that create container widgets will recurse to this function.
Note: There is also an overloaded version without YWidgetOpt - see below.
AAA_All-Widgets ---
disabled Set this widget insensitive, i.e. disable any user interaction. The widget will show this state by being greyed out (depending on the specific UI).
hstretch Make this widget stretchable in the horizontal dimension.
vstretch Make this widget stretchable in the vertical dimension.
hvstretch Make this widget stretchable in both dimensions.
autoShortcut Automatically choose a keyboard shortcut for this widget and don't complain in the log file about the missing shortcut. Don't use this regularly for all widgets - manually chosen keyboard shortcuts are almost always better than those automatically assigned. Refer to the style guide for details. This option is intended used for automatically generated data, e.g., RadioButtons for software selections that come from file or from some other data base.
key_F1 (NCurses only) activate this widget with the F1 key key_F2 (NCurses only) activate this widget with the F2 key key_Fxx (NCurses only) activate this widget with the Fxx key key_F24 (NCurses only) activate this widget with the F24 key key_none (NCurses only) no function key for this widget
keyEvents (NCurses only) Make UserInput() / WaitForEvent() return on keypresses within this widget. Exactly which keys trigger such a key event is UI specific. This is not for general use.
This is not a widget for general usage, this is just a placeholder for descriptions of options that all widgets have in common.
Use them for any widget whenever it makes sense.