class ListButton(Control)
A
ListButton is a control that displays a value and provides a pop-up or
pull-down menu of choices for changing the value. On some platforms,
the value can also be changed by typing the first letter of a choice.
Properties
- titles
- A sequence of strings representing the choices to be displayed in the menu.
- values
- A sequence of values corresponding to the strings in titles. When the user chooses an item, its corresponding entry in this sequence becomes the value of the control.
If this property is not set or set to None, the integer index of an item in the titles sequence is used as its value.
Action Properties
- action
- Action to perform when the user changes the selected item.