SimpleAction.this

Creates a new action.

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, glib.variant_type.VariantType parameterType)
    class SimpleAction

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