tft_gesture_alloc()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Allocate and initialize the two-finger tap gesture structure
Synopsis:
#include <gestures/two_finger_tap.h>
gesture_tft_t* tft_gesture_alloc(tft_params_t *params, gesture_callback_f callback, struct gestures_set *set)
Arguments:
- params
- The two-finger tap gesture parameters.
- callback
- The function to invoke when the two-finger tap gesture changes state.
- set
- The gesture set to add this two-finger tap gesture to.
Library:
libgesturesDescription:
This function allocates a new two-finger tap gesture data structure, initializes it with the specified parameters and callback function, and adds it to the specified gesture set.
Returns:
An initialized two-finger tap gesture.
Page updated: