Gio.SimpleAction
const Gio = imports.gi.Gio; let simpleAction = new Gio.SimpleAction({ name: value, parameter_type: value, state: value, });
A Gio.SimpleAction is the obvious simple implementation of the Gio.Action interface. This is the easiest way to create an action for purposes of adding it to a Gio.SimpleActionGroup.
See also #GtkAction.
Hierarchy
-
GObject.Object
- Gio.SimpleAction