Gio.Action::get_parameter_type

function vfunc_get_parameter_type(): GLib.VariantType {
}
  

Queries the type of the parameter that must be given when activating action.

When activating the action using Gio.Action.prototype.activate, the GLib.Variant given to that function must be of the type returned by this function.

In the case that this function returns null, you must not give any GLib.Variant, but null instead.

Since 2.28

Returns

the parameter type