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)

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 Sun Mar 26 10:01:22 2006 http://epydoc.sf.net