Function | prefill | Fills the Combo with listitems corresponding to the itemdata |
Function | append_item | Adds a single item to the Combo. |
Function | clear | Removes all items from the widget |
Function | select | Select an item giving data which could be an object or text. |
Function | select_item_by_position | Selects an item in the combo from a integer where 0 |
Function | select_item_by_label | Select item given text. |
Function | select_item_by_data | Select item given data. |
Function | get_selected_label | Gets the label of the currently selected item. |
Function | get_selected_data | Gets the data of the the currently selected item. |
Function | get_selected | Get the text or item of the currently selected item |
Function | get_model_strings | Undocumented |
Function | get_model_items | Undocumented |
Fills the Combo with listitems corresponding to the itemdata provided.
Parameters:
>>> [ label0, label1, label2 ]
If you require a data item to be specified for each item, use a 2-item tuple for each element. The format is as follows:
>>> [ ( label0, data0 ), (label1, data1), ... ]
Adds a single item to the Combo.
Removes all items from the widget
Select an item giving data which could be an object or text.
Selects an item in the combo from a integer where 0 represents the first item.
Select item given text.
Select item given data.
Gets the label of the currently selected item.
Gets the data of the the currently selected item.
Get the text or item of the currently selected item or None if nothing is selected.