GSimpleAction* g_simple_action_new ( const gchar* name, const GVariantType* parameter_type )
Creates a new action.
The created action is stateless. See
g_simple_action_new_stateful() to create
an action that has state.
The name of the action.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The type of parameter that will be passed to handlers for the
NULLfor no parameter.
The argument can be
The data is owned by the caller of the function.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|