The members of Gtk.MenuItem are listed below.
See Also: Inherited members from Gtk.Item
Protected Constructor. |
[write-only] | AccelPath | string. Sets the accelerator path. |
[read-only] static | GType | GLib.GType. GType Property. |
RightJustified | bool. Sets or obtains whether the menu item appears justified at the right side of a menu bar. | |
Submenu | Widget. Sets or obtains the widget submenu. |
Activate()Emits the MenuItem.Activated event on the given item. | ||
Deselect()Fires the Item.Deselect event. | ||
RemoveSubmenu()Removes the submenu of the Gtk.MenuItem, if it has one. | ||
Select()Fires the Item.Select event. | ||
ToggleSizeAllocate(int)Emits the MenuItem.ToggleSizeAllocated event on the given item. | ||
ToggleSizeRequest()Emits the MenuItem.ToggleSizeRequested event on the given item. |
OnActivated()Default handler for the MenuItem.Activated event. | ||
OnActivateItem()Default handler for the MenuItem.ActivateItem event. | ||
OnToggleSizeAllocated(int)Default handler for the MenuItem.ToggleSizeAllocated event. | ||
OnToggleSizeRequested(out int)Default handler for the MenuItem.ToggleSizeRequested event. |
Activated | Emitted when the item is activated. | |
ActivateItem | Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant event is MenuItem.Activated. | |
ToggleSizeAllocated | Emitted when size is allocated. | |
ToggleSizeRequested | Emitted when size is requested. |