Class
GioMenuItem
since: 2.32
Description [src]
final class Gio.MenuItem : GObject.Object
{
/* No available fields */
}
GMenuItem
is an opaque structure type. You must access it using the
functions below.
Available since: 2.32
Constructors
g_menu_item_new_from_model
Creates a GMenuItem
as an exact copy of an existing menu item in a
GMenuModel
.
since: 2.34
Instance methods
g_menu_item_set_action_and_target
Sets or unsets the “action” and “target” attributes of menu_item
.
since: 2.32
g_menu_item_set_action_and_target_value
Sets or unsets the “action” and “target” attributes of menu_item
.
since: 2.32
g_menu_item_set_detailed_action
Sets the “action” and possibly the “target” attribute of menu_item
.
since: 2.32
Signals
Signals inherited from GObject (1)
GObject::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.