[ Version ( since = "1.22" ) ]
public static bool event_parse_touch_event (Event event, out uint identifier, out double x, out double y, out double pressure)
Retrieve the details of a Navigation touch-down or touch-motion event.
Determine which type the event is using event_get_type to retrieve the NavigationEventType.
| event |
A Event to inspect. |
| identifier |
Pointer to a guint that will receive the identifier unique to this touch point. |
| x |
Pointer to a gdouble that will receive the x coordinate of the touch event. |
| y |
Pointer to a gdouble that will receive the y coordinate of the touch event. |
| pressure |
Pointer to a gdouble that will receive the force of the touch event, in the range from 0.0 to 1.0. If pressure data is not available, NaN will be set instead. |
|
TRUE if all details could be extracted, otherwise FALSE. |