Method
MksKeyboardpress
Declaration [src]
void
mks_keyboard_press (
MksKeyboard* self,
guint keycode,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Presses keycode
.
This method completes asynchronously. Use mks_keyboard_press_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
keycode
-
Type:
guint
The hardware keycode.
cancellable
-
Type:
GCancellable
A
GCancellable
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
to execute upon completion.The argument can be NULL
. user_data
-
Type:
gpointer
Closure data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.