Method
MksTouchablesend_event
Declaration [src]
void
mks_touchable_send_event (
MksTouchable* self,
MksTouchEventKind kind,
guint64 num_slot,
double x,
double y,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Send a touch event.
This method completes asynchronously. Use mks_touchable_send_event_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
kind
-
Type:
MksTouchEventKind
No description available.
num_slot
-
Type:
guint64
The slot number.
x
-
Type:
double
The x absolute coordinate.
y
-
Type:
double
The y absolute coordinate.
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.