wx.MenuBase Class Reference

Inheritance diagram for wx.MenuBase:

wx.EvtHandler wx.Object wx.Menu

List of all members.

Public Member Functions

MenuItem Append (MenuItem item)
MenuItem Append (int id, wxString item, Menu subMenu, wxString help)
MenuItem Append (int id, string item, Menu subMenu, string help)
MenuItem Append (int id, string item, Menu subMenu)
MenuItem Append (object id, string item, Menu subMenu)
MenuItem Append (int id, wxString item, wxString help, ItemKind kind)
MenuItem Append (int id, string item, string help, ItemKind kind)
MenuItem Append (object id, string item, string help, ItemKind kind)
MenuItem Append (int id, string item, string help)
MenuItem Append (object id, string item, string help)
MenuItem Append (Enum entry, string help)
MenuItem Append (int id, string item)
MenuItem Append (object id, string item)
MenuItem Append (Enum entry, string accelCode, string help)
MenuItem Append (Enum entry)
MenuItem AppendCheckItem (int id, wxString item, wxString help)
MenuItem AppendCheckItem (int id, string item, string help)
MenuItem AppendCheckItem (int id, string item)
MenuItem AppendCheckItem (Enum id, string helpText)
MenuItem AppendCheckItem (Enum id)
MenuItem AppendRadioItem (int itemid, wxString text, wxString help)
MenuItem AppendRadioItem (int itemid, string text, string help)
MenuItem AppendRadioItem (int itemid, string text)
MenuItem AppendRadioItem (Enum id, string help)
MenuItem AppendRadioItem (Enum id)
MenuItem AppendSeparator ()
virtual void Break ()
void Check (int id, bool check)
bool Delete (MenuItem item)
bool Delete (int itemid)
bool Destroy (MenuItem item)
bool Destroy (int itemid)
void Enable (int itemid, bool enable)
MenuItem FindChildItem (int itemid, out int pos)
MenuItem FindChildItem (int itemid)
MenuItem FindItem (int itemid, ref Menu menu)
MenuItem FindItem (int itemid)
virtual int FindItem (wxString item)
virtual int FindItem (string item)
MenuItem FindItemByPosition (int position)
string GetHelpString (int itemid)
string GetLabel (int itemid)
MenuItem GetMenuItem (int index)
int GetMenuItemCount ()
MenuItem Insert (int pos, int itemid, wxString text, Menu submenu, wxString help)
MenuItem Insert (int pos, int itemid, string text, Menu submenu, string help)
MenuItem Insert (int pos, int itemid, string text, Menu submenu)
MenuItem Insert (int pos, int itemid, wxString text, wxString help, ItemKind kind)
MenuItem Insert (int pos, int itemid, string text, string help, ItemKind kind)
MenuItem Insert (int pos, int itemid, string text, string help)
MenuItem Insert (int pos, int itemid, string text)
MenuItem Insert (int pos, MenuItem item)
MenuItem InsertCheckItem (int pos, int itemid, wxString text, wxString help)
MenuItem InsertCheckItem (int pos, int itemid, string text, string help)
MenuItem InsertCheckItem (int pos, int itemid, string text)
MenuItem InsertRadioItem (int pos, int itemid, wxString text, wxString help)
MenuItem InsertRadioItem (int pos, int itemid, string text, string help)
MenuItem InsertRadioItem (int pos, int itemid, string text)
MenuItem InsertSeparator (int pos)
bool IsChecked (int itemid)
bool IsEnabled (int itemid)
 MenuBase (wxString titel, wx.WindowStyles style)
 MenuBase (string titel, wx.WindowStyles style)
 MenuBase (string titel)
 MenuBase (wx.WindowStyles style)
 MenuBase ()
 MenuBase (IntPtr wxObject)
MenuItem Prepend (int itemid, wxString text, Menu submenu, wxString help)
MenuItem Prepend (int itemid, string text, Menu submenu, string help)
MenuItem Prepend (int itemid, string text, Menu submenu)
MenuItem Prepend (int itemid, wxString text, wxString help, ItemKind kind)
MenuItem Prepend (int itemid, string text, string help, ItemKind kind)
MenuItem Prepend (int itemid, string text, string help)
MenuItem Prepend (int itemid, string text)
MenuItem Prepend (MenuItem item)
MenuItem PrependCheckItem (int itemid, wxString text, wxString help)
MenuItem PrependCheckItem (int itemid, string text, string help)
MenuItem PrependCheckItem (int itemid, string text)
MenuItem PrependRadioItem (int itemid, wxString text, wxString help)
MenuItem PrependRadioItem (int itemid, string text, string help)
MenuItem PrependRadioItem (int itemid, string text)
MenuItem PrependSeparator ()
MenuItem Remove (MenuItem item)
MenuItem Remove (int itemid)
bool SendEvent (int itemid, int xchecked)
bool SendEvent (int itemid)
void SetHelpString (int itemid, wxString helpString)
void SetHelpString (int itemid, string helpString)
void SetLabel (int itemid, wxString label)
void SetLabel (int itemid, string label)
void UpdateUI (EvtHandler source)
void UpdateUI ()

Properties

bool Attached [get]
EvtHandler EventHandler [get, set]
Window InvokingWindow [get, set]
MenuBar MenuBar [get]
Menu Parent [get, set]
wx.WindowStyles Style [get]
string Title [get, set]


Constructor & Destructor Documentation

wx.MenuBase.MenuBase ( IntPtr  wxObject  ) 

wx.MenuBase.MenuBase (  ) 

wx.MenuBase.MenuBase ( wx.WindowStyles  style  ) 

wx.MenuBase.MenuBase ( string  titel  ) 

wx.MenuBase.MenuBase ( string  titel,
wx.WindowStyles  style 
)

wx.MenuBase.MenuBase ( wxString  titel,
wx.WindowStyles  style 
)


Member Function Documentation

MenuItem wx.MenuBase.Append ( MenuItem  item  ) 

MenuItem wx.MenuBase.Append ( int  id,
wxString  item,
Menu  subMenu,
wxString  help 
)

Adds a menu item with an enumeration value as command identifier.

MenuItem wx.MenuBase.Append ( int  id,
string  item,
Menu  subMenu,
string  help 
)

Adds a menu item with an enumeration value as command identifier.

MenuItem wx.MenuBase.Append ( int  id,
string  item,
Menu  subMenu 
)

Adds a menu item with an enumeration value as command identifier.

MenuItem wx.MenuBase.Append ( object  id,
string  item,
Menu  subMenu 
)

Adds a menu item with an enumeration value or another object that can be casted to int as command identifier.

MenuItem wx.MenuBase.Append ( int  id,
wxString  item,
wxString  help,
ItemKind  kind 
)

Adds a menu item with an enumeration value as command identifier.

MenuItem wx.MenuBase.Append ( int  id,
string  item,
string  help,
ItemKind  kind 
)

Adds a menu item with an enumeration value as command identifier.

MenuItem wx.MenuBase.Append ( object  id,
string  item,
string  help,
ItemKind  kind 
)

Adds a menu item with an enumeration value or another object that can be casted to int as command identifier.

MenuItem wx.MenuBase.Append ( int  id,
string  item,
string  help 
)

Adds a menu item with an integer value as command identifier.

MenuItem wx.MenuBase.Append ( object  id,
string  item,
string  help 
)

Adds a menu item with an enumeration value or another object that can be casted to int as command identifier.

MenuItem wx.MenuBase.Append ( Enum  entry,
string  help 
)

Adds a menu item of an enumeration value. The cast of the enumeration value to int will be the identifier of the command. The translation of the enumeration value (refer to wx.Object._() and wx.Globalization) will be the title of the menu entry.

MenuItem wx.MenuBase.Append ( int  id,
string  item 
)

Adds a menu item with an integer value as command identifier.

MenuItem wx.MenuBase.Append ( object  id,
string  item 
)

Adds a menu item with an enumeration value or another object that can be casted to int as command identifier.

MenuItem wx.MenuBase.Append ( Enum  entry,
string  accelCode,
string  help 
)

Adds a menu item of an enumeration value. The cast of the enumeration value to int will be the identifier of the command. The translation of the enumeration value (refer to wx.Object._() and wx.Globalization) will be the title of the menu entry. The provided acceleration code will be appended to the name separated by a TAB character. This will enable the menu acceleration function of wxWidgets.

Parameters:
entry The command and the label of the new menu item
accelCode An acceleration code like "F1" or "Alt-X" designating a key that can be pressed to raise the command that is also triggered by this menu item.
help A description of the command that will e.g. be displayed in status lines.

MenuItem wx.MenuBase.Append ( Enum  entry  ) 

Adds a menu item of an enumeration value. The cast of the enumeration value to int will be the identifier of the command. The translation of the enumeration value (refer to wx.Object._() and wx.Globalization) will be the title of the menu entry.

MenuItem wx.MenuBase.AppendCheckItem ( int  id,
wxString  item,
wxString  help 
)

MenuItem wx.MenuBase.AppendCheckItem ( int  id,
string  item,
string  help 
)

MenuItem wx.MenuBase.AppendCheckItem ( int  id,
string  item 
)

MenuItem wx.MenuBase.AppendCheckItem ( Enum  id,
string  helpText 
)

Creates a new check item in the menu. The enumeration value will be used to derive the ID for events and to get a text label in the menu via translation.

Parameters:
id Events caused by this item will refer to ID Convert.ToInt32(id). The check box will be labelled with _(id).
helpText Will appear in the status line if the mouse os over this check item.
Returns:

MenuItem wx.MenuBase.AppendCheckItem ( Enum  id  ) 

Creates a new check item in the menu. The enumeration value will be used to derive the ID for events and to get a text label in the menu via translation.

Parameters:
id Events caused by this item will refer to ID Convert.ToInt32(id). The check box will be labelled with _(id).
Returns:

MenuItem wx.MenuBase.AppendRadioItem ( int  itemid,
wxString  text,
wxString  help 
)

Adds a radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.

Parameters:
itemid ID of the menu command that will be raised on selection change.
text The name of the menu item.
help A help text that will be displayed in the status line on selection.
Returns:

MenuItem wx.MenuBase.AppendRadioItem ( int  itemid,
string  text,
string  help 
)

Adds a radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.

Parameters:
itemid ID of the menu command that will be raised on selection change.
text The name of the menu item.
help A help text that will be displayed in the status line on selection.
Returns:

MenuItem wx.MenuBase.AppendRadioItem ( int  itemid,
string  text 
)

Adds a radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.

Parameters:
itemid ID of the menu command that will be raised on selection change.
text The name of the menu item.
Returns:

MenuItem wx.MenuBase.AppendRadioItem ( Enum  id,
string  help 
)

Adds a radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.

Parameters:
id ID of the menu command that will be raised on selection change. The translation of this enumeration constant defines the name of the menu entry.
help A help text that will be displayed in the status line on selection.
Returns:

MenuItem wx.MenuBase.AppendRadioItem ( Enum  id  ) 

Adds a radio item to the end of the menu. All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.

Parameters:
id ID of the menu command that will be raised on selection change. The translation of this enumeration constant defines the name of the menu entry.
Returns:

MenuItem wx.MenuBase.AppendSeparator (  ) 

virtual void wx.MenuBase.Break (  )  [virtual]

void wx.MenuBase.Check ( int  id,
bool  check 
)

bool wx.MenuBase.Delete ( MenuItem  item  ) 

bool wx.MenuBase.Delete ( int  itemid  ) 

bool wx.MenuBase.Destroy ( MenuItem  item  ) 

bool wx.MenuBase.Destroy ( int  itemid  ) 

void wx.MenuBase.Enable ( int  itemid,
bool  enable 
)

MenuItem wx.MenuBase.FindChildItem ( int  itemid,
out int  pos 
)

MenuItem wx.MenuBase.FindChildItem ( int  itemid  ) 

MenuItem wx.MenuBase.FindItem ( int  itemid,
ref Menu  menu 
)

MenuItem wx.MenuBase.FindItem ( int  itemid  ) 

virtual int wx.MenuBase.FindItem ( wxString  item  )  [virtual]

virtual int wx.MenuBase.FindItem ( string  item  )  [virtual]

MenuItem wx.MenuBase.FindItemByPosition ( int  position  ) 

string wx.MenuBase.GetHelpString ( int  itemid  ) 

string wx.MenuBase.GetLabel ( int  itemid  ) 

MenuItem wx.MenuBase.GetMenuItem ( int  index  ) 

int wx.MenuBase.GetMenuItemCount (  ) 

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
wxString  text,
Menu  submenu,
wxString  help 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
string  text,
Menu  submenu,
string  help 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
string  text,
Menu  submenu 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
wxString  text,
wxString  help,
ItemKind  kind 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
string  text,
string  help,
ItemKind  kind 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.Insert ( int  pos,
int  itemid,
string  text 
)

MenuItem wx.MenuBase.Insert ( int  pos,
MenuItem  item 
)

MenuItem wx.MenuBase.InsertCheckItem ( int  pos,
int  itemid,
wxString  text,
wxString  help 
)

MenuItem wx.MenuBase.InsertCheckItem ( int  pos,
int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.InsertCheckItem ( int  pos,
int  itemid,
string  text 
)

MenuItem wx.MenuBase.InsertRadioItem ( int  pos,
int  itemid,
wxString  text,
wxString  help 
)

MenuItem wx.MenuBase.InsertRadioItem ( int  pos,
int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.InsertRadioItem ( int  pos,
int  itemid,
string  text 
)

MenuItem wx.MenuBase.InsertSeparator ( int  pos  ) 

bool wx.MenuBase.IsChecked ( int  itemid  ) 

bool wx.MenuBase.IsEnabled ( int  itemid  ) 

MenuItem wx.MenuBase.Prepend ( int  itemid,
wxString  text,
Menu  submenu,
wxString  help 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
string  text,
Menu  submenu,
string  help 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
string  text,
Menu  submenu 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
wxString  text,
wxString  help,
ItemKind  kind 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
string  text,
string  help,
ItemKind  kind 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.Prepend ( int  itemid,
string  text 
)

MenuItem wx.MenuBase.Prepend ( MenuItem  item  ) 

MenuItem wx.MenuBase.PrependCheckItem ( int  itemid,
wxString  text,
wxString  help 
)

MenuItem wx.MenuBase.PrependCheckItem ( int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.PrependCheckItem ( int  itemid,
string  text 
)

MenuItem wx.MenuBase.PrependRadioItem ( int  itemid,
wxString  text,
wxString  help 
)

MenuItem wx.MenuBase.PrependRadioItem ( int  itemid,
string  text,
string  help 
)

MenuItem wx.MenuBase.PrependRadioItem ( int  itemid,
string  text 
)

MenuItem wx.MenuBase.PrependSeparator (  ) 

MenuItem wx.MenuBase.Remove ( MenuItem  item  ) 

MenuItem wx.MenuBase.Remove ( int  itemid  ) 

bool wx.MenuBase.SendEvent ( int  itemid,
int  xchecked 
)

bool wx.MenuBase.SendEvent ( int  itemid  ) 

void wx.MenuBase.SetHelpString ( int  itemid,
wxString  helpString 
)

void wx.MenuBase.SetHelpString ( int  itemid,
string  helpString 
)

void wx.MenuBase.SetLabel ( int  itemid,
wxString  label 
)

void wx.MenuBase.SetLabel ( int  itemid,
string  label 
)

void wx.MenuBase.UpdateUI ( EvtHandler  source  ) 

void wx.MenuBase.UpdateUI (  ) 


Property Documentation

bool wx.MenuBase.Attached [get]

EvtHandler wx.MenuBase.EventHandler [get, set]

Window wx.MenuBase.InvokingWindow [get, set]

MenuBar wx.MenuBase.MenuBar [get]

Menu wx.MenuBase.Parent [get, set]

wx.WindowStyles wx.MenuBase.Style [get]

string wx.MenuBase.Title [get, set]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads