Gio.MenuItem
const Gio = imports.gi.Gio; let menuItem = new Gio.MenuItem();
Gio.MenuItem is an opaque structure type. You must access it using the functions below.
Since 2.32
Hierarchy
-
GObject.Object
- Gio.MenuItem
Methods
- Gio.MenuItem.prototype.get_attribute_value
- Gio.MenuItem.prototype.get_link
- Gio.MenuItem.prototype.set_action_and_target_value
- Gio.MenuItem.prototype.set_attribute_value
- Gio.MenuItem.prototype.set_detailed_action
- Gio.MenuItem.prototype.set_icon
- Gio.MenuItem.prototype.set_label
- Gio.MenuItem.prototype.set_link
- Gio.MenuItem.prototype.set_section
- Gio.MenuItem.prototype.set_submenu