GPaste.KeybindingProvider

g GObject.GInterface GObject.GInterface GPaste.KeybindingProvider GPaste.KeybindingProvider GObject.GInterface->GPaste.KeybindingProvider

Implementations:

GPaste.GnomeShellClient

Methods

emit_keybinding_activated (id)

grab_all (accels)

ungrab_all ()

Virtual Methods

do_grab_all (accels)

do_ungrab_all ()

Properties

None

Signals

Name

Short Description

keybinding-activated

The “keybinding-activated” signal is emitted when a registered shortcut is pressed by the user.

Fields

None

Class Details

class GPaste.KeybindingProvider
Bases:

GObject.GInterface

Structure:

GPaste.KeybindingProviderInterface

emit_keybinding_activated(id)
Parameters:

id (str) – the id of the activated shortcut (its dconf key)

Emit the “keybinding-activated” signal on self.

grab_all(accels)
Parameters:

accels ([GPaste.KeybindingAccelerator]) – a None-terminated (by id) array of GPaste.KeybindingAccelerator

Replace all currently registered shortcuts with accels.

ungrab_all()

Release all currently registered shortcuts.

do_grab_all(accels) virtual
Parameters:

accels ([GPaste.KeybindingAccelerator]) – a None-terminated (by id) array of GPaste.KeybindingAccelerator

Replace all currently registered shortcuts with accels.

do_ungrab_all() virtual

Release all currently registered shortcuts.

Signal Details

GPaste.KeybindingProvider.signals.keybinding_activated(keybinding_provider, id)
Signal Name:

keybinding-activated

Flags:

RUN_LAST

Parameters:
  • keybinding_provider (GPaste.KeybindingProvider) – The object which received the signal

  • id (str) – the id of the activated shortcut (its dconf key)

The “keybinding-activated” signal is emitted when a registered shortcut is pressed by the user.