Method
PhoshDBusGnomeShellcall_grab_accelerators
Declaration [src]
void
phosh_dbus_gnome_shell_call_grab_accelerators (
PhoshDBusGnomeShell* proxy,
GVariant* arg_accelerators,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously invokes the GrabAccelerators() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_dbus_gnome_shell_call_grab_accelerators_finish()
to get the result of the operation.
See phosh_dbus_gnome_shell_call_grab_accelerators_sync()
for the synchronous, blocking version of this method.
Parameters
arg_accelerators |
GVariant |
Argument to pass with the method invocation. |
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |