SimpleAction.this

Creates a new action.

The created action is stateless. See g_simple_action_new_stateful() to create an action that has state.

Parameters

name string

the name of the action

parameterType 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

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.28