subsubsection3_5_3_6.html
subsection3_5_3.html
subsubsection3_5_3_4.html
tableofcontents3_1.html
Next:
subsubsection3_5_3_6.html
Selection
Up:
subsection3_5_3.html
Creating Display Items
Previous:
subsubsection3_5_3_4.html
Choosing the Orientation
Event Handling
You can handle the events in a TList widget using the
-browsecmd
and
-command
options. The meanings of these two options are silimar to
their meanings in other Tix widgets such as the ComboBox. Usually, the
command specified by
-browsecmd
is called when the user clicks or
drags the mouse over the items or presses the arrow keys. The command
specified by
-command
is called when the user double-clicks or
presses the Return key.  These commands are called with one extra
argument - the index of the currently ``active'' item, which is usually
the item under the mouse cursor.
http://tix.sourceforge.net
http://tix.sourceforge.net
