Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class ItemsPicker:


super_classes Known Superclasses

wx.Panel


method_summary Methods Summary

__init__ ItemsPicker(parent, choices = [], label = ‘’, selectedLabel = ‘’,
GetItems GetItems(self)=> items
GetSelections GetSelections(self)=>items
SetItems SetItems(self, items)=> None
SetSelections SetSelections(self, items)=>None

property_summary Properties Summary

add_button_label  
Items See GetItems/SetItems
remove_button_label  
Selections See GetSelections/SetSelections

api Class API



class ItemsPicker(wx.Panel)

ItemsPicker is a widget that allows the user to form a set of picked items out of a given list


Methods



__init__(self, parent, id=wx.ID_ANY, choices = [], label = '', selectedLabel = '', ipStyle = IP_DEFAULT_STYLE, *args, **kw)
ItemsPicker(parent, choices = [], label = ‘’, selectedLabel = ‘’,
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


Properties



Items

See GetItems/SetItems



Selections

See GetSelections/SetSelections