gtk-sharp2.12.0.0Gtk# 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.ContainerMethodSystem.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.
ConstructorInternal constructor
Pointer to 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.GLib.Signal("activate_current")EventGtk.MoveCurrentHandlerAn action signal which moves the current menu item in the direction specified by .GLib.Signal("move_current")EventSystem.EventHandlerThis signal is emitted when a selection has been completed within a menu shell.GLib.Signal("selection-done")EventSystem.EventHandlerThis signal is emitted when a menu shell is deactivated.GLib.Signal("deactivate")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 Chain to this constructor if you have manually registered a native value for your subclass.System.ObsoleteConstructorProtected constructor.EventSystem.EventHandlerAn action signal which cancels the selection within the menu shell.Causes the signal to be emitted.GLib.Signal("cancel")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.PropertyGLib.Property("take-focus")System.BooleanIndicates if the keyboard focus should be grabbed when active. if the keyboard focus is taken when active.By default, this is true. Setting to false can have unexpected side effects and in general should only be done with menus that don't contain mnemonics.EventGLib.Signal("move_selected")Gtk.MoveSelectedHandlerTo be added.To be added.MethodSystem.Boolean
To be added.
To be added.To be added.To be added.