]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/Menus.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
, EvtHandler
16 import Parameters
as wx
17 from Window
import Window
20 class FileHistory(Object
):
23 def AddFileToHistory(self
):
27 def AddFilesToMenu(self
):
31 def AddFilesToThisMenu(self
):
39 def GetHistoryFile(self
):
43 def GetMaxFiles(self
):
47 def GetNoHistoryFiles(self
):
55 def RemoveFileFromHistory(self
):
80 class Menu(EvtHandler
):
87 def AppendCheckItem(self
):
99 def AppendRadioItem(self
):
103 def AppendSeparator(self
):
119 def DeleteItem(self
):
131 def DestroyItem(self
):
143 def FindItemById(self
):
147 def GetEventHandler(self
):
151 def GetHelpString(self
):
155 def GetInvokingWindow(self
):
163 def GetMenuItemCount(self
):
167 def GetMenuItems(self
):
187 def InsertCheckItem(self
):
191 def InsertItem(self
):
195 def InsertMenu(self
):
199 def InsertRadioItem(self
):
203 def InsertSeparator(self
):
207 def IsAttached(self
):
223 def PrependCheckItem(self
):
227 def PrependItem(self
):
231 def PrependMenu(self
):
235 def PrependRadioItem(self
):
239 def PrependSeparator(self
):
247 def RemoveItem(self
):
251 def SetEventHandler(self
):
255 def SetHelpString(self
):
259 def SetInvokingWindow(self
):
284 class MenuBar(Window
):
303 def FindItemById(self
):
311 def FindMenuItem(self
):
315 def GetHelpString(self
):
323 def GetLabelTop(self
):
331 def GetMenuCount(self
):
347 def IsEnabledTop(self
):
359 def SetHelpString(self
):
367 def SetLabelTop(self
):
375 class MenuItem(Object
):
414 def GetSubMenu(self
):
422 def IsCheckable(self
):
434 def IsSeparator(self
):
450 def SetCheckable(self
):
462 def SetSubMenu(self
):