Class

XdpGlobalShortcutsSession

Description [src]

final class Xdp.GlobalShortcutsSession : GObject.Object
{
  /* No available fields */
}

A representation of a long-lived global shortcuts portal interaction.

The XdpGlobalShortcutsSession object is used to represent portal interactions with the global shortcuts desktop portal that extend over multiple portal calls. Usually a caller creates a global shortcuts session, binds shortcuts, and then starts listening to activations.

To list current assignments after xdp_global_shortcuts_session_bind_shortcuts() returns, call xdp_global_shortcuts_session_list_shortcuts().

The XdpGlobalShortcutsSession wraps a XdpSession object.

Hierarchy

hierarchy this XdpGlobalShortcutsSession ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

xdp_global_shortcuts_session_bind_shortcuts

Bind shortcuts and list triggers.

xdp_global_shortcuts_session_bind_shortcuts_finish

Finishes the GlobalShortcuts BindShortcuts request.

xdp_global_shortcuts_session_close
No description available.

xdp_global_shortcuts_session_configure_shortcuts

Requests that the portal show configuration UI for all shortcuts of this session.

xdp_global_shortcuts_session_configure_shortcuts_finish

Finishes the ConfigureShortcuts method call.

xdp_global_shortcuts_session_get_session

Return the XdpSession for this GlobalShortcuts session.

xdp_global_shortcuts_session_list_shortcuts

List currently registered shortcuts and triggers.

xdp_global_shortcuts_session_list_shortcuts_finish

Finishes the list-shortcuts request, and returns a GPtrArray with the shortcuts.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Xdp.GlobalShortcutsSession::activated

Emitted when a GlobalShortcuts shortcut of this session was activated.

Xdp.GlobalShortcutsSession::deactivated

Emitted when a GlobalShortcuts shortcut of this session was deactivated.

Xdp.GlobalShortcutsSession::shortcuts-changed

Emitted when a GlobalShortcuts session’s shortcuts have changed. This signal is emitted after new shortcuts have already become effective.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct XdpGlobalShortcutsSessionClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.