Commit Graph

8 Commits

Author SHA1 Message Date
e638ff7974 drag: Allow gtk_gesture_get_start_point/offset() to be called on ::drag-end 2014-05-23 19:54:30 +02:00
42df9eda2d Prevent subclassing of gestures
For now, at least. We do this by hiding the instance and
class structures in private headers.
2014-05-23 19:54:28 +02:00
3cbd2b97b8 drag: doc fixes 2014-05-23 19:54:27 +02:00
28237f80f5 drag: Add missing documentation 2014-05-23 19:54:27 +02:00
c4a39f5abf drag: remove unused #define 2014-05-23 19:54:25 +02:00
55683c075c drag: Make API offsets based
It is generally more useful to get offsets right away,
than having to calculate those from the start point.
2014-05-23 19:54:24 +02:00
315aedf5c8 drag: Make a subclass of GtkGestureSingle 2014-05-23 19:54:23 +02:00
8026bc3651 Add GtkGestureDrag
This gesture interprets and reports drags as an offset to the drag
start point.
2014-05-23 19:54:21 +02:00