![]() |
![]() |
listbox classA widget displaying a list of items. |
||||||||||||||||||||||||||||||||
Inherits | ||||||||||||||||||||||||||||||||
object widget | ||||||||||||||||||||||||||||||||
Description | ||||||||||||||||||||||||||||||||
The listbox class is a widget displaying a list of string items. The listbox can operate in four selection modes: single, multi, extended and none. In the "single" mode only one item can be selected at a time and that item is also the current one. In the "multi" mode multiple items can be selected and unselected and the current item may or may not be one of the selected items. In the "extended" mode multiple items can be selected but they must be selected in a single mouse action or by keeping the shift button pressed while clicking on the item. In this mode the current item is always one of the selected items. In the "none" mode no items can be selected and the current item may be any item in the list. In most situations you will operate the listwidget in "single" mode (and this is the default mode set at widget creation). |
||||||||||||||||||||||||||||||||
Functions | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Signals | ||||||||||||||||||||||||||||||||
|