Gio.Action.prototype.get_parameter_type
function get_parameter_type(): GLib.VariantType {
// Gjs wrapper for g_action_get_parameter_type()
}
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