Interface

Gio-2.0GioActionGroupSignalSignatures

interface SignalSignatures {
    "action-added": (action_name: string) => void;
    "action-enabled-changed": (action_name: string, enabled: boolean) => void;
    "action-removed": (action_name: string) => void;
    "action-state-changed": (action_name: string, value: GLib.Variant) => void;
    [key: `action-added::${string}`]: (action_name: string) => void;
    [key: `action-enabled-changed::${string}`]: (
        action_name: string,
        enabled: boolean,
    ) => void;
    [key: `action-removed::${string}`]: (action_name: string) => void;
    [key: `action-state-changed::${string}`]: (
        action_name: string,
        value: GLib.Variant,
    ) => void;
}

Hierarchy (View Summary)

Indexable

  • [key: `action-added::${string}`]: (action_name: string) => void
  • [key: `action-enabled-changed::${string}`]: (action_name: string, enabled: boolean) => void
  • [key: `action-removed::${string}`]: (action_name: string) => void
  • [key: `action-state-changed::${string}`]: (action_name: string, value: GLib.Variant) => void
Index
"action-added": (action_name: string) => void

Signals that a new action was just added to the group.

This signal is emitted after the action has been added and is now visible.

2.28

"action-enabled-changed": (action_name: string, enabled: boolean) => void

Signals that the enabled status of the named action has changed.

2.28

"action-removed": (action_name: string) => void

Signals that an action is just about to be removed from the group.

This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.

2.28

"action-state-changed": (action_name: string, value: GLib.Variant) => void

Signals that the state of the named action has changed.

2.28