Method
XdpGlobalShortcutsSessionbind_shortcuts
Declaration [src]
void
xdp_global_shortcuts_session_bind_shortcuts (
XdpGlobalShortcutsSession* session,
GPtrArray* shortcuts,
const char* parent_window,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Bind shortcuts and list triggers.
This method completes asynchronously. Use xdp_global_shortcuts_session_bind_shortcuts_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
shortcuts-
Type: An array of
XdpGlobalShortcut*array of shortcuts to bind.
The data is owned by the caller of the method. parent_window-
Type:
const char*Parent window identifier, or
NULL.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:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback to call when the request is done.
The argument can be NULL. data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.