Matthias Clasen
17088e4add
GtkTreeView: Remove unused field
2014-05-23 19:54:28 +02:00
Matthias Clasen
c63c1caac0
gtk3-demo: Don't leak the color chooser
2014-05-23 19:54:28 +02:00
Matthias Clasen
3a752658ab
GtkColorPlane: Actually add the long press gesture
...
This was missed because gtk_widget_remove_controller silently
does nothing on unowned controllers.
2014-05-23 19:54:28 +02:00
Matthias Clasen
487ac50e93
GtkButton: Don't leak the gesture
2014-05-23 19:54:28 +02:00
Matthias Clasen
616aac8d82
Forgotten file
2014-05-23 19:54:28 +02:00
Matthias Clasen
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
Carlos Garnacho
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
Carlos Garnacho
bf6181a382
docs: Add missing GtkEventController functions
2014-05-23 19:54:28 +02:00
Carlos Garnacho
35bed1ac14
widget: Add docs for GtkGesture-related API
2014-05-23 19:54:28 +02:00
Carlos Garnacho
63dd7a568e
gesturesingle: doc fixes
2014-05-23 19:54:28 +02:00
Carlos Garnacho
556eb398e5
zoom: doc fixes
2014-05-23 19:54:28 +02:00
Carlos Garnacho
ad2346f762
swipe: doc fixes
2014-05-23 19:54:28 +02:00
Carlos Garnacho
1f8cf3c322
rotate: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
135a653ee2
pan: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
24dc172b46
multipress: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
fa168e202e
longpress: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
3cbd2b97b8
drag: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
ec50d776ce
gesture: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
dbc7f011b3
eventcontroller: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
958efad71d
docs: Add missing controller/gesture docs
2014-05-23 19:54:27 +02:00
Carlos Garnacho
a0e9de671b
pan: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
c10998edb5
zoom: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
dc1e8454a7
rotate: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
2df48ba886
swipe: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
28237f80f5
drag: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
90b2f386e7
longpress: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
4602f34111
multipress: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
862f9d876e
gesturesingle: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
ac8dcccb32
gesture: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
c60c0fe4c5
eventcontroller: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
48367b1432
enums: Add missing docs to controller/gesture enums
2014-05-23 19:54:27 +02:00
Carlos Garnacho
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
Carlos Garnacho
4401be22ad
enums: Document GtkPropagationPhase
2014-05-23 19:54:26 +02:00
Carlos Garnacho
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
Carlos Garnacho
c7da5b54f5
Add GtkGesturePan
...
This gesture reports events on horizontal/vertical panning gestures.
2014-05-23 19:54:26 +02:00
Carlos Garnacho
75b6f4aa52
range: Replace GtkPressAndHold with GtkGestureLongPress
2014-05-23 19:54:26 +02:00
Carlos Garnacho
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
Carlos Garnacho
bd722499dc
colorswatch: Replace GtkPressAndHold
...
GtkGestureLongPress and GtkGestureMultiPress are both used
to replace it.
2014-05-23 19:54:26 +02:00
Carlos Garnacho
d5cb4841c8
colorscale: Replace GtkPressAndHold with GtkLongPressGesture
2014-05-23 19:54:26 +02:00
Carlos Garnacho
8c139c1fca
colorplane: Replace GtkPressAndHold with GtkLongPressGesture
2014-05-23 19:54:26 +02:00
Carlos Garnacho
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
Carlos Garnacho
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
Carlos Garnacho
c506dfe600
longpress: fix reentrancy on ::reset()
2014-05-23 19:54:26 +02:00
Carlos Garnacho
3cc9543e64
gesturemultipress: fix reentrancy on ::reset()
2014-05-23 19:54:26 +02:00
Carlos Garnacho
cdb5ba9426
gesturesingle: check the current sequence before resetting the pressed button
2014-05-23 19:54:26 +02:00
Carlos Garnacho
490c356954
scrolledwindow: update to gesture widget-level API changes
2014-05-23 19:54:26 +02:00
Carlos Garnacho
ff627511b7
window: update to gesture widget-level API changes
2014-05-23 19:54:26 +02:00
Carlos Garnacho
6350f58c1c
treeview: update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
Carlos Garnacho
c4a39f5abf
drag: remove unused #define
2014-05-23 19:54:25 +02:00
Carlos Garnacho
3221d53010
eventcontroller: Add documentation blurb
2014-05-23 19:54:25 +02:00