Class k.u.w.c._EasyComboBoxHelper(object):

Part of kiwi.ui.widgets.combo
Undocumented
Function__init__

Call this constructor after the Combo one

Functionget_modeUndocumented
Functionset_modeUndocumented
Functionclear

Removes all items from list

FunctionprefillUndocumented
Functionappend_item

Adds a single item to the Combo. Takes:

Functioninsert_item

Inserts a single item at a position to the Combo.

FunctionselectUndocumented
Functionselect_item_by_positionUndocumented
Functionselect_item_by_labelUndocumented
Functionselect_item_by_dataUndocumented
Functionget_model_stringsUndocumented
Functionget_model_itemsUndocumented
Functionget_selected_labelUndocumented
Functionget_selected_dataUndocumented
Functionget_selectedUndocumented
def __init__(self, combobox):

Call this constructor after the Combo one

def get_mode(self):
Undocumented
def set_mode(self, mode):
Undocumented
def clear(self):

Removes all items from list

def prefill(self, itemdata, sort=False):
Undocumented
def append_item(self, label, data=None):

Adds a single item to the Combo. Takes:

  • label: a string with the text to be added
  • data: the data to be associated with that item
def insert_item(self, position, label, data=None):

Inserts a single item at a position to the Combo.

def select(self, data):
Undocumented
def select_item_by_position(self, pos):
Undocumented
def select_item_by_label(self, label):
Undocumented
def select_item_by_data(self, data):
Undocumented
def get_model_strings(self):
Undocumented
def get_model_items(self):
Undocumented
def get_selected_label(self):
Undocumented
def get_selected_data(self):
Undocumented
def get_selected(self):
Undocumented