Listbox Bindings
A listbox has an active element and it may have one or more selected elements. The active element is highlighted with an underline, and the selected elements are highlighted with a different color. There are a large number of key bindings for listboxes. You must set the input focus to the listbox for the key bindings to work. Chapter 36 describes focus. There are four selection modes for a listbox, and the bindings vary depending what mode the listbox is in. Table 32-3 lists the four possible selectMode settings:
single | A single element can be selected. |
browse | A single element can be selected, and the selection can be dragged with the mouse. This is the default. |
multiple | More ... |
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.