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)
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)
MenuItem AppendSubMenu(self, submenu, text, help)
  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)
bool DestroyItem(self, item)
  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)
String GetLabelText(self, itemid)
MenuBar GetMenuBar(self)
size_t GetMenuItemCount(self)
MenuItemList 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)

Property Summary
  EventHandler: See GetEventHandler and SetEventHandler
  HelpString: See GetHelpString and SetHelpString
  InvokingWindow: See GetInvokingWindow and SetInvokingWindow
  MenuBar: See GetMenuBar
  MenuItemCount: See GetMenuItemCount
  MenuItems: See GetMenuItems
  Parent: See GetParent and SetParent
  Style: See GetStyle
  thisown: The membership flag
  Title: See GetTitle and SetTitle

Method Details

Destroy(self)

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

Overrides:
wx.Object.Destroy

Property Details

EventHandler

See GetEventHandler and SetEventHandler

Get Method:
GetEventHandler(self)
Set Method:
SetEventHandler(self, handler)

HelpString

See GetHelpString and SetHelpString

Get Method:
GetHelpString(self, id)
Set Method:
SetHelpString(self, id, helpString)

InvokingWindow

See GetInvokingWindow and SetInvokingWindow

Get Method:
GetInvokingWindow(self)
Set Method:
SetInvokingWindow(self, win)

MenuBar

See GetMenuBar

Get Method:
GetMenuBar(self)

MenuItemCount

See GetMenuItemCount

Get Method:
GetMenuItemCount(self)

MenuItems

See GetMenuItems

Get Method:
GetMenuItems(self)

Parent

See GetParent and SetParent

Get Method:
GetParent(self)
Set Method:
SetParent(self, parent)

Style

See GetStyle

Get Method:
GetStyle(self)

thisown

The membership flag

Title

See GetTitle and SetTitle

Get Method:
GetTitle(self)
Set Method:
SetTitle(self, title)

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:53:16 2009 http://epydoc.sf.net