Class (GI Struct)

Gio-2.0GioActionEntry

This struct defines a single action. It is for use with Gio.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 Gio.ActionMap.add_action_entries for an example.

Index

Constructors

Properties

Constructors

  • Parameters

    • Optionalproperties: Partial<{ name: string; parameter_type: string; state: string }>

    Returns Gio.ActionEntry

Properties

name: string
parameter_type: string
state: string