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:
MksTouchEventKindNo description available.
num_slot-
Type:
guint64The slot number.
x-
Type:
doubleThe x absolute coordinate.
y-
Type:
doubleThe y absolute coordinate.
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.