The members of Gtk.Menu are listed below.
See Also: Inherited members from Gtk.MenuShell
Protected Constructor. |
AccelGroup | AccelGroup. Sets or obtains the Gtk.AccelGroup which holds global accelerators for the menu. | |
[write-only] | AccelPath | string. Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. |
[read-only] | Active | Widget. Returns the selected menu item from the menu. |
[read-only] | AttachWidget | Widget. Returns the Gtk.Widget that the menu is attached to. |
[read-only] static | GType | GLib.GType. GType Property. |
[write-only] | Monitor | int. The number of the monitor on which the menu should be popped up. |
Screen | Gdk.Screen. The physical screen this menu is placed on. | |
TearoffState | bool. Sets or obtains the tearoff state of the menu. | |
TearoffTitle | string. The title of this menu when it is torn off | |
Title | string. Sets or obtains the title for the menu. |
Attach(Widget, uint, uint, uint, uint)Adds a new Gtk.MenuItem to a (table) menu. | ||
AttachToWidget(Widget, MenuDetachFunc)Attaches the menu to the widget and provides a detacher. | ||
Detach()Detaches the menu from the widget to which it had been attached. | ||
static | GetForAttachWidget(Widget)Documentation for this section has not yet been entered. | |
Popdown()Removes the menu from the screen. | ||
Popup()Displays a menu and makes it available for selection. | ||
Popup(Widget, Widget, MenuPositionFunc, uint, uint)Displays a menu and makes it available for selection. | ||
Popup(Widget, Widget, MenuPositionFunc, IntPtr, uint, uint)Obsolete. Replaced by k.Menu.Popup(Widget, Widget, MenuPositionFunc, uint, uint). | ||
ReorderChild(Widget, int)Moves a Gtk.MenuItem to a new position within the Gtk.Menu. | ||
Reposition()Repositions the menu according to its position function. | ||
SetActive(uint)Selects the specified menu item within the menu. |