SimpleAction.this

Creates a new action.

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

class SimpleAction
this

Parameters

name string

the name of the action

parameterType glib.variant_type.VariantType

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

Return Value

a new #GSimpleAction