gtk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A GtkMenuShell is the abstract base class used to derive the GtkMenu and GtkMenuBar subclasses.
A is a container of objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A can have a submenu associated with it, allowing for nested hierarchical menus.
Gtk.ContainerAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodSystem.VoidAdds a new to the beginning of the menu shell's item list.
The to add.
Activates the menu item within the menu shell.
Adds a new to the beginning of the menu shell's item list.
MethodSystem.VoidDeactivates the menu shell.
Typically this results in the menu shell being erased from the screen.
MethodSystem.VoidActivates the menu item within the menu shell.
The to activate.
If , force the deactivation of the menu shell after the menu item is activated.
Activates the menu item within the menu shell.
MethodSystem.VoidAdds a new to the menu shell's item list at the position indicated by .
The to add.
The position in the item list where is added. Positions are numbered from 0 to n-1.
Adds a new to the menu shell's item list at the position indicated by position.
MethodSystem.VoidDeselects the currently selected item from the menu shell, if any.
Deselects the currently selected item from the menu shell, if any.
MethodSystem.VoidAdds a new to the end of the menu shell's item list.
The to add.
Adds a new to the end of the menu shell's item list.
MethodSystem.VoidSelects the menu item from the menu shell.
The to select.
Selects the menu item from the menu shell.
MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of MenuShell, wrapping the C object.This is an internal constructor, and should not be used by user code.EventGtk.ActivateCurrentHandlerAn action signal that activates the current menu item within the menu shell.EventGtk.MoveCurrentHandlerAn action signal which moves the current menu item in the direction specified by .EventSystem.EventHandlerThis signal is emitted when a selection has been completed within a menu shell.EventSystem.EventHandlerThis signal is emitted when a menu shell is deactivated.MethodSystem.VoidSelect the first visible or selectable child of the menu shell;
don't select tearoff items unless the only item is a tearoff item.
a If is true,
search for the first selectable menu item, otherwise select nothing if
the first item isn't sensitive. This should be false if the
menu is being popped up initially.
PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a a Chain to this constructor if you have manually registered a native value for your subclass.ConstructorProtected constructor.a EventSystem.EventHandlerAn action signal which cancels the selection within the menu shell.Causes the signal to be emitted.MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidEmits the Canceled event.