ActionEntry

constructor()(source)

Allocate a new ActionEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)(source)

Allocate a new ActionEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(name: String?, parameterType: String?, state: String?)(source)

Allocate a new ActionEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

name

the name of the action

parameterType

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)

state

the initial state for this action, given in gvariant-text. 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.


constructor(name: String?, parameterType: String?, state: String?, scope: <Error class: unknown class>)(source)

Allocate a new ActionEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

name

the name of the action

parameterType

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)

state

the initial state for this action, given in gvariant-text. 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.

scope

The AutofreeScope to allocate this structure in.


constructor(gioActionEntryPointer: <Error class: unknown class><<Error class: unknown class>>)(source)