Gio.ActionGroup::activate_action

function vfunc_activate_action(action_name: String, parameter: GLib.Variant): void {
}
  

Activate the named action within action_group.

If the action is expecting a parameter, then the correct type of parameter must be given as parameter. If the action is expecting no parameters then parameter must be null. See Gio.ActionGroup.prototype.get_action_parameter_type.

Since 2.28

action_name

the name of the action to activate

parameter

parameters to the activation