Method
MksMousepress
Declaration [src]
void
mks_mouse_press (
MksMouse* self,
MksMouseButton button,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Presses a mouse button.
This method completes asynchronously. Use mks_mouse_press_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
button-
Type:
MksMouseButtonThe
MksMouseButtonthat was pressed. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto execute upon completion.The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the method.