mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
gtkgesture: Add note to gtk_gesture_get_bounding_box()
This is the only function that's will be semantically confusing with touchpad gesture events, explain what's to be expected there.
This commit is contained in:
parent
e55b3c6501
commit
dc77989a1c
@ -1352,6 +1352,12 @@ _gtk_gesture_get_last_update_time (GtkGesture *gesture,
|
||||
* box containing all active touches. Otherwise, %FALSE will be
|
||||
* returned.
|
||||
*
|
||||
* Note: This function will yield unexpected results on touchpad
|
||||
* gestures. Since there is no correlation between physical and
|
||||
* pixel distances, these will look as if constrained in an
|
||||
* infinitely small area, @rect width and height will thus be 0
|
||||
* regardless of the number of touchpoints.
|
||||
*
|
||||
* Returns: %TRUE if there are active touches, %FALSE otherwise
|
||||
*
|
||||
* Since: 3.14
|
||||
|
Loading…
Reference in New Issue
Block a user