tfpan_gesture_alloc()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Allocate and initialize the two-finger pan gesture structure
Synopsis:
#include <gestures/two_finger_pan.h>
gesture_tfpan_t* tfpan_gesture_alloc(tfpan_params_t *params, gesture_callback_f callback, struct gestures_set *set)
Arguments:
- params
- A pointer to the two-finger pan gesture parameters.
- callback
- The function to invoke when the two-finger pan gesture changes state.
- set
- A pointer to the gesture set to add this two-finger pan gesture to.
Library:
libgesturesDescription:
This function allocates a new two-finger pan 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 two-finger pan gesture.
Page updated: