Skip to content

Gio.ActionEntry

record (struct)

This struct defines a single action. It is for use with ActionMap.add_action_entries.

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 ActionMap.add_action_entries for an example.

Properties

name

name: str  # read/write

activate

activate: Any  # read/write

parameter_type

parameter_type: str  # read/write

state

state: str  # read/write

change_state

change_state: Any  # read/write

padding

padding: list[int]  # read/write