SimpleAction.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string name, glib.variant_type.VariantType parameterType = null)

Creates a new action.

The created action is stateless. See [gio.simple_action.SimpleAction.newStateful] to create an action that has state.

Parameters

namethe name of the action
parameterTypethe type of parameter that will be passed to handlers for the #GSimpleAction::activate signal, or null for no parameter

Returns

a new #GSimpleAction