FoundryGtk.ShortcutObserver

g FoundryGtk.ShortcutObserver FoundryGtk.ShortcutObserver GObject.Object GObject.Object GObject.Object->FoundryGtk.ShortcutObserver

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (model)

lookup (action_name)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

model

Gio.ListModel

r/w/co

Signals

Inherited:

GObject.Object (1)

Name

Short Description

accel-changed

This signal is emitted when an action is determined to have been changed by the user or some other mechanism.

Fields

Inherited:

GObject.Object (1)

Class Details

class FoundryGtk.ShortcutObserver(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

FoundryGtk.ShortcutObserverClass

classmethod new(model)
Parameters:

model (Gio.ListModel) –

Return type:

FoundryGtk.ShortcutObserver

lookup(action_name)
Parameters:

action_name (str) –

Return type:

str

Signal Details

FoundryGtk.ShortcutObserver.signals.accel_changed(shortcut_observer, action, accel)
Signal Name:

accel-changed

Flags:

RUN_LAST, DETAILED

Parameters:
  • shortcut_observer (FoundryGtk.ShortcutObserver) – The object which received the signal

  • action (str) – the action to be performed

  • accel (str or None) – the accelerator for the action

This signal is emitted when an action is determined to have been changed by the user or some other mechanism.

Property Details

FoundryGtk.ShortcutObserver.props.model
Name:

model

Type:

Gio.ListModel

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY