bind_shortcuts


Description:

public async GenericArray<GlobalShortcutAssigned> bind_shortcuts (GenericArray<GlobalShortcut> shortcuts, string? parent_window, Cancellable? cancellable) throws Error

Bind shortcuts and list triggers.

Parameters:

this

a [class@GlobalShortcutsSession]

shortcuts

array of shortcuts to bind

parent_window

parent window identifier, or null

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback