SimpleAction.this

Creates a new action.

The created action is stateless. See g_simple_action_new_stateful().

Parameters

name string

the name of the action

parameterType VariantType

the type of parameter to the activate function

Return Value

a new #GSimpleAction

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.28