Inheritance diagram for wx.CheckListBox:
A checklistbox is like a listbox, but allows items to be checked or unchecked.
Only the new functions for this class are documented; see also wx.ListBox . Please note that wx.CheckListBox uses client data in its implementation, and therefore this is not available to the application.
See also
wx.ListBox, wx.Choice, wx.ComboBox, wx.ListCtrl, wx.CommandEvent
Event Name | Description |
---|---|
wx.EVT_CHECKLISTBOX(id, func) | Process a wx.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event, when an item in the check list box is checked or unchecked. |
Constructor.
Parameters:
Returns:
Checks the given item. Note that calling this method doesn’t result in wx.wxEVT_COMMAND_CHECKLISTBOX_TOGGLE being emitted.
Parameters:
Return a tuple of integers corresponding to the checked items in the control, based on IsChecked.
Returns:
tuple of integers
Return a tuple of strings corresponding to the checked items of the control, based on GetChecked.
Returns:
tuple of strings
Returns the item height in wx.CheckListBox.
Returns:
int
Returns whether the item at position index is checked or not.
Parameters:
Returns:
bool
Sets the checked state of items if the index of the item is found in the indexes sequence.
Parameters:
Sets the checked state of items if the item’s string is found in the strings sequence.
Parameters: