]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/ToolBar.py
1 """Decorator classes for documentation and shell scripting.
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __revision__
= "$Revision$"[11:-2]
9 # These are not the real wxPython classes. These are Python versions
10 # for documentation purposes. They are also used to apply docstrings
11 # to the real wxPython classes, which are SWIG-generated wrappers for
15 from Base
import Object
16 from Controls
import Control
17 import Parameters
as wx
20 class ToolBarBase(Control
):
23 def AddCheckLabelTool(self
):
27 def AddCheckTool(self
):
35 def AddLabelTool(self
):
39 def AddRadioLabelTool(self
):
43 def AddRadioTool(self
):
47 def AddSeparator(self
):
51 def AddSimpleTool(self
):
67 def DeleteToolByPos(self
):
75 def DoInsertTool(self
):
83 def FindControl(self
):
87 def FindToolForPosition(self
):
103 def GetToolBitmapSize(self
):
107 def GetToolClientData(self
):
111 def GetToolEnabled(self
):
115 def GetToolLongHelp(self
):
119 def GetToolMargins(self
):
123 def GetToolPacking(self
):
127 def GetToolSeparation(self
):
131 def GetToolShortHelp(self
):
135 def GetToolSize(self
):
139 def GetToolState(self
):
143 def InsertControl(self
):
147 def InsertLabelTool(self
):
151 def InsertSeparator(self
):
155 def InsertSimpleTool(self
):
159 def InsertTool(self
):
163 def IsVertical(self
):
171 def RemoveTool(self
):
175 def SetMargins(self
):
179 def SetMarginsXY(self
):
183 def SetMaxRowsCols(self
):
195 def SetToolBitmapSize(self
):
199 def SetToolClientData(self
):
203 def SetToolLongHelp(self
):
207 def SetToolPacking(self
):
211 def SetToolSeparation(self
):
215 def SetToolShortHelp(self
):
219 def ToggleTool(self
):
228 class ToolBar(ToolBarBase
):
235 def FindToolForPosition(self
):
244 class ToolBarSimple(ToolBarBase
):
251 def FindToolForPosition(self
):
260 class ToolBarToolBase(Object
):
267 def CanBeToggled(self
):
287 def GetBitmap1(self
):
291 def GetBitmap2(self
):
295 def GetClientData(self
):
299 def GetControl(self
):
303 def GetDisabledBitmap(self
):
319 def GetLongHelp(self
):
323 def GetNormalBitmap(self
):
327 def GetShortHelp(self
):
335 def GetToolBar(self
):
351 def IsSeparator(self
):
359 def SetBitmap1(self
):
363 def SetBitmap2(self
):
367 def SetClientData(self
):
371 def SetDisabledBitmap(self
):
379 def SetLongHelp(self
):
383 def SetNormalBitmap(self
):
387 def SetShortHelp(self
):