ActionEntry.state

string state() @property

Get state field.

Returns

the initial state for this action, given in

[GVariant text format][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.

void state(string propval) @property

Set state field.

Parameters

propvalthe initial state for this action, given in [GVariant text format][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.