next up previous contents
Next: Radio Up: Element on a configuration page Previous: ListBox

Menu

 

tex2html_wrap1043


A Menu element is a pull down menu, from which you can select a single element.

Standard Options

-text
This is the text before the Menu.
-textafter
This is the text after the Menu.
-default
This is the default value for the Menu as text. (default value if not set: the first element)
-defaultIndex
This is a shortcut to set the default value to the element with the given index.
-entries
This is a list of entries in the menu.
-entryhelp
This is a list: {"element 1" "help for element 1" "element 2" "help for element 2" ...}.
If this is given, the -entries option is ignored.
-help
This is the help for the Menu.
-export
This tells wether the widget shall be exported or not.

Link to Variables

A Menu links to an associative array with the same name as the Menu, and with the following keys:

name
This is the text which is displayed in the Menu.
index
This is the index into the list of menu entries.



Jesper Kjær Pedersen <blackie@imada.ou.dk>
Wed Oct 2 13:29:53 MET DST 1996