Carlos Garnacho
2e903243c6
eventcontroller: Make the event-mask property and methods private.
...
This will rarely have any use if no subclassing is allowed, so just make it
private for our own.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
03a3b2ccab
eventcontroller: introspection fix
...
Set transfer annotation on gtk_event_controller_get_widget()
2014-05-23 19:54:33 +02:00
Matthias Clasen
0442431943
Docs: Cosmetic fixes
2014-05-23 19:54:33 +02:00
Carlos Garnacho
5369c77029
gesture: Simplify gesture/widget interaction public API
...
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
2014-05-23 19:54:29 +02:00
Matthias Clasen
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
Carlos Garnacho
dbc7f011b3
eventcontroller: doc fixes
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
3221d53010
eventcontroller: Add documentation blurb
2014-05-23 19:54:25 +02:00
Carlos Garnacho
759705d3e6
eventcontroller: Add propagation-phase property
...
This is so we don't have to specify the capture phase for
every controller. The default "bubble" value will be sane
on most situations.
2014-05-23 19:54:25 +02:00
Carlos Garnacho
e2b8ef8c66
Add GtkEventController
...
This is a basic abstract type that handles GdkEvents.
2014-05-23 19:54:21 +02:00