ActionEntry
Allocate a new ActionEntry.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new ActionEntry using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new ActionEntry.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the name of the action
the type of the parameter that must be passed to the activate function for this action, given as a single GVariant type string (or NULL
for no parameter)
the initial state for this action, given in gvariant-text-format.html. The state is parsed with no extra type information, so type tags must be added to the string if they are necessary. Stateless actions should give NULL
here.
Allocate a new ActionEntry using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the name of the action
the type of the parameter that must be passed to the activate function for this action, given as a single GVariant type string (or NULL
for no parameter)
the initial state for this action, given in gvariant-text-format.html. The state is parsed with no extra type information, so type tags must be added to the string if they are necessary. Stateless actions should give NULL
here.
The AutofreeScope to allocate this structure in.