| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class ToolBarBase |
|
object--+ |Object--+ |EvtHandler--+ |Window--+ |Control--+ | ToolBarBase
ToolBarProxy of C++ ToolBarBase class
| Method Summary | |
|---|---|
__init__(self)
| |
Add a check tool, i.e. | |
Add a check tool, i.e. | |
| ToolBarToolBase | AddControl(self,
control)
|
The full AddTool() function. | |
Add a radio tool, i.e. | |
Add a radio tool, i.e. | |
| ToolBarToolBase | AddSeparator(self)
|
Old style method to add a tool to the toolbar. | |
Old style method to add a tool to the toolbar. | |
| ToolBarToolBase | AddToolItem(self,
tool)
|
ClearTools(self)
| |
| bool | DeleteTool(self,
id)
|
| bool | DeleteToolByPos(self,
pos)
|
| ToolBarToolBase | DoAddTool(self,
id,
label,
bitmap,
bmpDisabled,
kind,
shortHelp,
longHelp,
clientData)
|
| ToolBarToolBase | DoInsertTool(self,
pos,
id,
label,
bitmap,
bmpDisabled,
kind,
shortHelp,
longHelp,
clientData)
|
EnableTool(self,
id,
enable)
| |
| ToolBarToolBase | FindById(self,
toolid)
|
| Control | FindControl(self,
id)
|
| ToolBarToolBase | FindToolForPosition(self,
x,
y)
|
| Size | GetMargins(self)
|
| int | GetMaxCols(self)
|
| int | GetMaxRows(self)
|
| Size | GetToolBitmapSize(self)
|
| PyObject | GetToolClientData(self,
id)
|
| bool | GetToolEnabled(self,
id)
|
| String | GetToolLongHelp(self,
id)
|
| Size | GetToolMargins(self)
|
| int | GetToolPacking(self)
|
| int | GetToolPos(self,
id)
|
| size_t | GetToolsCount(self)
|
| int | GetToolSeparation(self)
|
| String | GetToolShortHelp(self,
id)
|
| Size | GetToolSize(self)
|
| bool | GetToolState(self,
id)
|
| ToolBarToolBase | InsertControl(self,
pos,
control)
|
Insert the new tool at the given position, if pos == GetToolsCount(), it is equivalent to AddTool() | |
| ToolBarToolBase | InsertSeparator(self,
pos)
|
Old style method to insert a tool in the toolbar. | |
Old style method to insert a tool in the toolbar. | |
| ToolBarToolBase | InsertToolItem(self,
pos,
tool)
|
| bool | IsVertical(self)
|
| bool | Realize(self)
|
| ToolBarToolBase | RemoveTool(self,
id)
|
SetMargins(self,
size)
| |
SetMarginsXY(self,
x,
y)
| |
SetMaxRowsCols(self,
rows,
cols)
| |
SetRows(self,
nRows)
| |
SetToggle(self,
id,
toggle)
| |
SetToolBitmapSize(self,
size)
| |
SetToolClientData(self,
id,
clientData)
| |
SetToolLongHelp(self,
id,
helpString)
| |
SetToolPacking(self,
packing)
| |
SetToolSeparation(self,
separation)
| |
SetToolShortHelp(self,
id,
helpString)
| |
ToggleTool(self,
id,
toggle)
| |
| Property Summary | |
|---|---|
Margins: See GetMargins and SetMargins | |
MaxCols: See GetMaxCols | |
MaxRows: See GetMaxRows | |
thisown: The membership flag | |
ToolBitmapSize: See GetToolBitmapSize and SetToolBitmapSize | |
ToolMargins: See GetToolMargins | |
ToolPacking: See GetToolPacking and SetToolPacking | |
ToolsCount: See GetToolsCount | |
ToolSeparation: See GetToolSeparation and SetToolSeparation | |
ToolSize: See GetToolSize | |
| Instance Method Details |
|---|
AddCheckLabelTool(self, id, label, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., shortHelp='', longHelp='', clientData=None)Add a check tool, i.e. a tool which can be toggled |
AddCheckTool(self, id, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., shortHelp='', longHelp='', clientData=None)Add a check tool, i.e. a tool which can be toggled |
AddLabelTool(self, id, label, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., kind=0, shortHelp='', longHelp='', clientData=None)The full AddTool() function. If bmpDisabled is wx.NullBitmap, a shadowed version of the normal bitmap is created and used as the disabled image. |
AddRadioLabelTool(self, id, label, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., shortHelp='', longHelp='', clientData=None)Add a radio tool, i.e. a tool which can be toggled and releases any other toggled radio tools in the same group when it happens |
AddRadioTool(self, id, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., shortHelp='', longHelp='', clientData=None)Add a radio tool, i.e. a tool which can be toggled and releases any other toggled radio tools in the same group when it happens |
AddSimpleTool(self, id, bitmap, shortHelpString='', longHelpString='', isToggle=0)Old style method to add a tool to the toolbar. |
AddTool(self, id, bitmap, pushedBitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., isToggle=0, clientData=None, shortHelpString='', longHelpString='')Old style method to add a tool to the toolbar. |
InsertLabelTool(self, pos, id, label, bitmap, bmpDisabled=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., kind=0, shortHelp='', longHelp='', clientData=None)Insert the new tool at the given position, if pos == GetToolsCount(), it is equivalent to AddTool() |
InsertSimpleTool(self, pos, id, bitmap, shortHelpString='', longHelpString='', isToggle=0)Old style method to insert a tool in the toolbar. |
InsertTool(self, pos, id, bitmap, pushedBitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap ..., isToggle=0, clientData=None, shortHelpString='', longHelpString='')Old style method to insert a tool in the toolbar. |
| Property Details |
|---|
MarginsSee
|
MaxColsSee
|
MaxRowsSee
|
thisownThe membership flag |
ToolBitmapSizeSee
|
ToolMarginsSee
|
ToolPackingSee
|
ToolsCountSee
|
ToolSeparationSee
|
ToolSizeSee
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:11:28 2007 | http://epydoc.sf.net |