Method

XdpGlobalShortcutsSessionconfigure_shortcuts

Declaration [src]

void
xdp_global_shortcuts_session_configure_shortcuts (
  XdpGlobalShortcutsSession* session,
  const char* parent_window,
  const char* activation_token,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

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

This method completes asynchronously. Use xdp_global_shortcuts_session_configure_shortcuts_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

parent_window

Type: const char*

Parent window identifier.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
activation_token

Type: const char*

Token used to activate the configuration window.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
cancellable

Type: GCancellable

Optional GCancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

Callback called when the method call is done.

The argument can be NULL.
data

Type: gpointer

Data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.