triple_tap_gesture_alloc()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Allocate and initialize the triple tap gesture structure
Synopsis:
#include <gestures/triple_tap.h>
gesture_triple_tap_t* triple_tap_gesture_alloc(triple_tap_params_t *params, gesture_callback_f callback, struct gestures_set *set)
Arguments:
- params
- A ponter to the triple tap gesture parameters.
- callback
- The function to invoke when the triple tap gesture changes state.
- set
- A pointer to the gesture set to add this tap gesture to.
Library:
libgesturesDescription:
This function allocates a new triple tap gesture data structure, initializes it with the specified parameters and callback function, and adds it to the specified gesture set.
Returns:
A pointer to an initialized triple tap gesture.
Page updated: