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