An object containing switcher items.
SwitcherItems
(object)¶An object containing switcher items.
__init__
(self, items=None)¶Default class constructor.
AddGroup
(self, title, name, id=0, bitmap=wx.NullBitmap)¶AddItem
(self, titleOrItem, name=None, id=0, bitmap=wx.NullBitmap)¶CalculateItemSize
(self, dc)¶Clear
(self)¶Copy
(self, items)¶Copy operator between 2 SwitcherItems
.
Parameters: | items – another instance of SwitcherItems . |
---|
FindItemById
(self, id)¶FindItemByName
(self, name)¶GetBackgroundColour
(self)¶GetColumnCount
(self)¶GetIndexForFocus
(self)¶GetItem
(self, i)¶GetItemCount
(self)¶GetItemFont
(self)¶GetRowCount
(self)¶GetSelection
(self)¶GetSelectionColour
(self)¶GetSelectionOutlineColour
(self)¶GetTextColour
(self)¶PaintItems
(self, dc, win)¶SetBackgroundColour
(self, colour)¶SetColumnCount
(self, cols)¶SetItemFont
(self, font)¶SetRowCount
(self, rows)¶SetSelection
(self, sel)¶SetSelectionByName
(self, name)¶SetSelectionColour
(self, colour)¶SetSelectionOutlineColour
(self, colour)¶SetTextColour
(self, colour)¶