phoenix_title wx.lib.agw.aui.aui_switcherdialog.SwitcherItems

An object containing switcher items.


class_hierarchy Class Hierarchy

Inheritance diagram for class SwitcherItems:

method_summary Methods Summary

__init__

Default class constructor.

AddGroup

AddItem

CalculateItemSize

Clear

Copy

Copy operator between 2 SwitcherItems.

FindItemById

FindItemByName

GetBackgroundColour

GetColumnCount

GetIndexForFocus

GetItem

GetItemCount

GetItemFont

GetRowCount

GetSelection

GetSelectionColour

GetSelectionOutlineColour

GetTextColour

PaintItems

SetBackgroundColour

SetColumnCount

SetItemFont

SetRowCount

SetSelection

SetSelectionByName

SetSelectionColour

SetSelectionOutlineColour

SetTextColour


api Class API

class SwitcherItems(object)

An object containing switcher items.


Methods

__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)