487ac50e93
GtkButton: Don't leak the gesture
2014-05-23 19:54:28 +02:00
616aac8d82
Forgotten file
2014-05-23 19:54:28 +02:00
0106099f5b
GtkButton: Port to GtkGesture
...
Quick-and-dirty patch to use a GtkGestureSingle for both
button press/release and touch event handling.
2014-05-23 19:54:28 +02:00
f73f4d82e0
widget: remove GtkGesture-related signals
...
The utility of those signals is somewhat dubious now that there is
gtk_gesture_group(), so make that the only way to coordinate gestures.
The cooperation model offered by gtk_gesture_group() is flexible
enough,
2014-05-23 19:54:28 +02:00
bf6181a382
docs: Add missing GtkEventController functions
2014-05-23 19:54:28 +02:00
35bed1ac14
widget: Add docs for GtkGesture-related API
2014-05-23 19:54:28 +02:00
63dd7a568e
gesturesingle: doc fixes
2014-05-23 19:54:28 +02:00
556eb398e5
zoom: doc fixes
2014-05-23 19:54:28 +02:00
ad2346f762
swipe: doc fixes
2014-05-23 19:54:28 +02:00
1f8cf3c322
rotate: doc fixes
2014-05-23 19:54:27 +02:00
135a653ee2
pan: doc fixes
2014-05-23 19:54:27 +02:00
24dc172b46
multipress: doc fixes
2014-05-23 19:54:27 +02:00
fa168e202e
longpress: doc fixes
2014-05-23 19:54:27 +02:00
3cbd2b97b8
drag: doc fixes
2014-05-23 19:54:27 +02:00
ec50d776ce
gesture: doc fixes
2014-05-23 19:54:27 +02:00
dbc7f011b3
eventcontroller: doc fixes
2014-05-23 19:54:27 +02:00
958efad71d
docs: Add missing controller/gesture docs
2014-05-23 19:54:27 +02:00
a0e9de671b
pan: Add missing documentation
2014-05-23 19:54:27 +02:00
c10998edb5
zoom: Add missing documentation
2014-05-23 19:54:27 +02:00
dc1e8454a7
rotate: Add missing documentation
2014-05-23 19:54:27 +02:00
2df48ba886
swipe: Add missing documentation
2014-05-23 19:54:27 +02:00
28237f80f5
drag: Add missing documentation
2014-05-23 19:54:27 +02:00
90b2f386e7
longpress: Add missing documentation
2014-05-23 19:54:27 +02:00
4602f34111
multipress: Add missing documentation
2014-05-23 19:54:27 +02:00
862f9d876e
gesturesingle: Add missing documentation
2014-05-23 19:54:27 +02:00
ac8dcccb32
gesture: Add missing documentation
2014-05-23 19:54:27 +02:00
c60c0fe4c5
eventcontroller: Add missing documentation
2014-05-23 19:54:27 +02:00
48367b1432
enums: Add missing docs to controller/gesture enums
2014-05-23 19:54:27 +02:00
d768c2cb84
Remove GtkPressAndHold
...
This is replaced by GtkGestureLongPress, and all its callers have
been updated to use the replacement.
2014-05-23 19:54:26 +02:00
4401be22ad
enums: Document GtkPropagationPhase
2014-05-23 19:54:26 +02:00
6296aa84b2
spinbutton: increase/decrease value on upwards/downwards touch swipes
...
This is somewhat analogous to scroll events on pointer devices, the
greater the velocity, the faster the spinbutton spins.
2014-05-23 19:54:26 +02:00
c7da5b54f5
Add GtkGesturePan
...
This gesture reports events on horizontal/vertical panning gestures.
2014-05-23 19:54:26 +02:00
75b6f4aa52
range: Replace GtkPressAndHold with GtkGestureLongPress
2014-05-23 19:54:26 +02:00
2166be96d2
swipe: Add function to retrieve the current velocity
...
This can be used to fetch the current velocity on update(), as opposed
to swipe() which happens after the sequence is finished.
2014-05-23 19:54:26 +02:00
bd722499dc
colorswatch: Replace GtkPressAndHold
...
GtkGestureLongPress and GtkGestureMultiPress are both used
to replace it.
2014-05-23 19:54:26 +02:00
d5cb4841c8
colorscale: Replace GtkPressAndHold with GtkLongPressGesture
2014-05-23 19:54:26 +02:00
8c139c1fca
colorplane: Replace GtkPressAndHold with GtkLongPressGesture
2014-05-23 19:54:26 +02:00
e3d25b3c3c
entry: Don't show text handles too eagerly on button press
...
Instead do so on button release, or after text selection dragging
starts.
2014-05-23 19:54:26 +02:00
c3075f1d56
longpress: Ensure check() happens after cancel()
...
And delegate on GtkGesture::check(), it does deal better with
extra fleeting touches.
2014-05-23 19:54:26 +02:00
c506dfe600
longpress: fix reentrancy on ::reset()
2014-05-23 19:54:26 +02:00
3cc9543e64
gesturemultipress: fix reentrancy on ::reset()
2014-05-23 19:54:26 +02:00
cdb5ba9426
gesturesingle: check the current sequence before resetting the pressed button
2014-05-23 19:54:26 +02:00
490c356954
scrolledwindow: update to gesture widget-level API changes
2014-05-23 19:54:26 +02:00
ff627511b7
window: update to gesture widget-level API changes
2014-05-23 19:54:26 +02:00
6350f58c1c
treeview: update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
c4a39f5abf
drag: remove unused #define
2014-05-23 19:54:25 +02:00
3221d53010
eventcontroller: Add documentation blurb
2014-05-23 19:54:25 +02:00
040c82f0e8
dnd: Update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
51b5fa3bf0
demo: Update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
7a71c16317
widget: refactor gesture integration
...
Listen for notify::sequence-state-changed on the controller, so the
only way to manipulate a sequence state are gtk_gesture_set_sequence_state()
and gtk_gesture_set_state().
Also, make use of gesture groups, so the sequence state is set at once
on all gestures pertaining to a single group. Within a widget, if a sequence
is claimed on one group, it is made to be denied on every other group.
2014-05-23 19:54:25 +02:00