gtk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A widget used for items in menus.The and derived widgets are the only valid children for menus. Their function is to correctly handle highlighting, alignment, events and submenus.Gtk.ItemAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodGtk.MenuItemCreates a new whose child is .
The text to appear on this menu item.
A new .MethodSystem.VoidRemoves the submenu of the , if it has one.MethodSystem.VoidFires the event.MethodSystem.VoidFires the event.MethodSystem.VoidEmits the event on the given item.
The allocation to use as signal data.
MethodSystem.VoidEmits the event on the given item.MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of MenuItem, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorA constructor.An instance of .ConstructorTo be added
To be added: an object of type 'string'
To be added: an object of type 'Gtk.MenuItem'To be addedPropertySystem.UInt32The GLib Type for Gtk.MenuItemThe GLib Type for the Gtk.MenuItem class.PropertyGtk.WidgetSets or obtains the widget submenu.
The submenu.
A submenu for this menu item, or if none.PropertySystem.StringSets the accelerator path.
An accelerator path, corresponding to this menu item's functionality, or to unset the current path.
The accelerator path of the menu item.
Sets the accelerator path, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage.
PropertySystem.BooleanSets or obtains whether the menu item appears justified at the right side of a menu bar.
If the menu item will appear at the far right if added to a menu bar.
Returns if the menu item will appear at the far right if added to a menu bar.EventSystem.EventHandlerEmitted when the item is activated.EventSystem.EventHandlerEmitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant event is .EventGtkSharp.ToggleSizeAllocatedHandlerEmitted when size is allocated.EventGtkSharp.ToggleSizeRequestedHandlerEmitted when size is requested.ConstructorInternal constructor
GLib type for the type
Creates a new instance of MenuItem, using the GLib-provided typeThis is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.MethodSystem.VoidEmits the event on the given item.
The requisition to use as signal data.