Class
GioMenuItem
Constructors
g_menu_item_new_from_model
Creates a GMenuItem
as an exact copy of an existing menu item in a
GMenuModel
.
Available since: 2.34
Instance methods
g_menu_item_set_action_and_target
Sets or unsets the “action” and “target” attributes of menu_item
.
Available since: 2.32
g_menu_item_set_action_and_target_value
Sets or unsets the “action” and “target” attributes of menu_item
.
Available since: 2.32
g_menu_item_set_detailed_action
Sets the “action” and possibly the “target” attribute of menu_item
.
Available since: 2.32
g_menu_item_set_link
Creates a link from menu_item
to model
if non-NULL
, or unsets it.
Available since: 2.32
g_menu_item_set_section
Sets or unsets the “section” link of menu_item
to section
.
Available since: 2.32
g_menu_item_set_submenu
Sets or unsets the “submenu” link of menu_item
to submenu
.
Available since: 2.32
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.