Copyright © 2008, 2009 Arndt Roger Schneider
Specifies a Tcl command to associate with the button to the right. This command is invoked when mouse button 1 is released over the button window.
Color, defines the background color for the entry to the left.
Specifies a Tcl command to associate with the pop-up listbox. The selectcommand is invoked, when an item is selected in the listbox.
Where the pop-up will appear in relation to the combobox. Possible values are »above« and »below«. Default value is »below«.
Integer dimension. The height in rows of the contained listbox window.
the maximum amount of listbox entries. The default value is »-1«, meaning unlimited.
Integer dimension. The width in characters of the contained listbox.
The internal listbox. The kind of the internal listbox can be defined prior creation. listType is a static property.
The used list must conform to the Tk listbox interface.
Rtl_mlistbox, hugelist or listbox can be used.
A Window created through the rtl_combobox command exposes various functions. Using these functions has the following general form:
pathName option ?arg arg ...?
PathName is the same as the window path name. Option and the args determine the exact behavior of the command. The following commands are possible for this window:
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the rtl_combobox command.
Query or modify the configuration options of the window. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given window option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the rtl_combobox command.
Search for the given token inside the history list and set the associated entry to that item.
Clear the history list. Side-effect clear the contained listboxes while this listbox exists. Revision : 01/01/2009, Roger–Simplified