ActionEntry

This struct defines a single action. It is for use with gio.action_map.ActionMap.addActionEntries.

The order of the items in the structure are intended to reflect frequency of use. It is permissible to use an incomplete initialiser in order to leave some of the later values as null. All values after @name are optional. Additional optional fields may be added in the future.

See gio.action_map.ActionMap.addActionEntries for an example.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Aliases

ActivateFuncType
alias ActivateFuncType = void function(GSimpleAction* action, VariantC* parameter, void* userData)

Function alias for field activate

ChangeStateFuncType
alias ChangeStateFuncType = void function(GSimpleAction* action, VariantC* value, void* userData)

Function alias for field changeState

Functions

cPtr
void* cPtr()

Properties

activate
ActivateFuncType activate [@property getter]

Get field activate.

changeState
ChangeStateFuncType changeState [@property getter]

Get field changeState.

name
string name [@property getter]

Get field name.

name
string name [@property setter]

Set field name.

parameterType
string parameterType [@property getter]

Get field parameterType.

parameterType
string parameterType [@property setter]

Set field parameterType.

state
string state [@property getter]

Get field state.

state
string state [@property setter]

Set field state.