Gio.Action.prototype.activate

function activate(parameter: GLib.Variant): void {
    // Gjs wrapper for g_action_activate()
}
  

Activates the action.

parameter must be the correct type of parameter for the action (ie: the parameter type given at construction time). If the parameter type was null then parameter must also be null.

If the parameter GVariant is floating, it is consumed.

Since 2.28

parameter

the parameter to the activation