wx.lib.itemspicker.ItemsPicker¶ItemsPicker is a widget that allows the user to form a set of picked items out of a given list
Class Hierarchy¶
Inheritance diagram for class ItemsPicker:

Known Superclasses¶
Methods Summary¶ItemsPicker(parent, choices = [], label = ‘’, selectedLabel = ‘’, |
|
GetItems(self)=> items |
|
GetSelections(self)=>items |
|
SetItems(self, items)=> None |
|
SetSelections(self, items)=>None |
Properties Summary¶
|
|
See GetItems/SetItems |
|
|
|
See GetSelections/SetSelections |
Class API¶ItemsPicker(wx.Panel)¶ItemsPicker is a widget that allows the user to form a set of picked items out of a given list
__init__(self, parent, id=wx.ID_ANY, choices = [], label = '', selectedLabel = '', ipStyle = IP_DEFAULT_STYLE, *args, **kw)¶ipStyle = IP_DEFAULT_STYLE)
GetItems(self)¶GetItems(self)=> items returns list of strings that the user can pick from
GetSelections(self)¶GetSelections(self)=>items returns list of strings that were selected
SetItems(self, items)¶SetItems(self, items)=> None items - Sequence of strings that the user can pick from
SetSelections(self, items)¶SetSelections(self, items)=>None items - Sequence of strings to be selected The items are displayed in the selection part of the widget
Items¶See GetItems/SetItems
Selections¶See GetSelections/SetSelections