Action.activate

void activate(glib.variant.Variant parameter = null)

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.

Parameters

parameterthe parameter to the activation