Package wx :: Class Menu
[frames | no frames]

Type Menu

object --+        
         |        
    Object --+    
             |    
    EvtHandler --+
                 |
                Menu

Known Subclasses:
PopupDivisionMenu

Proxy of C++ Menu class


Method Summary
Menu __init__(self, title, style)
  __repr__(self)
MenuItem Append(self, id, text, help, kind)
MenuItem AppendCheckItem(self, id, text, help)
MenuItem AppendItem(self, item)
MenuItem AppendMenu(self, id, text, submenu, help)
MenuItem AppendRadioItem(self, id, text, help)
MenuItem AppendSeparator(self)
  Attach(self, menubar)
  Break(self)
  Check(self, id, check)
bool Delete(self, id)
bool DeleteItem(self, item)
  Destroy(self)
Deletes the C++ object this Python object is a proxy for.
bool DestroyId(self, id)
Deletes the C++ object this Python object is a proxy for.
bool DestroyItem(self, item)
Deletes the C++ object this Python object is a proxy for.
  Detach(self)
  Enable(self, id, enable)
int FindItem(self, item)
MenuItem FindItemById(self, id)
MenuItem FindItemByPosition(self, position)
EvtHandler GetEventHandler(self)
String GetHelpString(self, id)
Window GetInvokingWindow(self)
String GetLabel(self, id)
MenuBar GetMenuBar(self)
size_t GetMenuItemCount(self)
PyObject GetMenuItems(self)
Menu GetParent(self)
long GetStyle(self)
String GetTitle(self)
MenuItem Insert(self, pos, id, text, help, kind)
MenuItem InsertCheckItem(self, pos, id, text, help)
MenuItem InsertItem(self, pos, item)
MenuItem InsertMenu(self, pos, id, text, submenu, help)
MenuItem InsertRadioItem(self, pos, id, text, help)
MenuItem InsertSeparator(self, pos)
bool IsAttached(self)
bool IsChecked(self, id)
bool IsEnabled(self, id)
MenuItem Prepend(self, id, text, help, kind)
MenuItem PrependCheckItem(self, id, text, help)
MenuItem PrependItem(self, item)
MenuItem PrependMenu(self, id, text, submenu, help)
MenuItem PrependRadioItem(self, id, text, help)
MenuItem PrependSeparator(self)
MenuItem Remove(self, id)
MenuItem RemoveItem(self, item)
  SetEventHandler(self, handler)
  SetHelpString(self, id, helpString)
  SetInvokingWindow(self, win)
  SetLabel(self, id, label)
  SetParent(self, parent)
  SetTitle(self, title)
  UpdateUI(self, source)
    Inherited from EvtHandler
  AddPendingEvent(self, event)
  Bind(self, event, handler, source, id, id2)
Bind an event to an event handler.
  Connect(self, id, lastId, eventType, func)
bool Disconnect(self, id, lastId, eventType)
bool GetEvtHandlerEnabled(self)
EvtHandler GetNextHandler(self)
EvtHandler GetPreviousHandler(self)
bool ProcessEvent(self, event)
  ProcessPendingEvents(self)
  SetEvtHandlerEnabled(self, enabled)
  SetNextHandler(self, handler)
  SetPreviousHandler(self, handler)
  Unbind(self, event, source, id, id2)
Disconencts the event handler binding for event from self.
    Inherited from Object
String GetClassName(self)
Returns the class name of the C++ class using wxRTTI.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

Destroy(self)

Deletes the C++ object this Python object is a proxy for.

Overrides:
wx.Object.Destroy

DestroyId(self, id)

Deletes the C++ object this Python object is a proxy for.

Parameters:
id
           (type=int)

Returns:
bool

DestroyItem(self, item)

Deletes the C++ object this Python object is a proxy for.

Parameters:
item
           (type=MenuItem)

Returns:
bool

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:45:30 2007 http://epydoc.sf.net