Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
3221d530
Commit
3221d530
authored
Apr 08, 2014
by
Carlos Garnacho
Browse files
eventcontroller: Add documentation blurb
parent
040c82f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkeventcontroller.c
View file @
3221d530
...
@@ -17,6 +17,27 @@
...
@@ -17,6 +17,27 @@
*
*
* Author(s): Carlos Garnacho <carlosg@gnome.org>
* Author(s): Carlos Garnacho <carlosg@gnome.org>
*/
*/
/**
* SECTION:gtkeventcontroller
* @Short_description: Self-contained handler of series of events
* @Title: GtkEventController
* @See_also: #GtkGesture
*
* #GtkEventController is a base, low-level implementation for event
* controllers. Those react to a series of events, and possibly trigger
* actions as a consequence of those.
*
* Most usually, event controllers are attached to a widget through
* gtk_widget_add_controller(). This ensures events received by the
* widget are delivered to the controller. On special situations,
* manual delivery may be desired, this can be achieved by setting
* the capture phase to %GTK_PHASE_NONE and feeding events manually
* through gtk_event_controller_handle_event(). See
* gtk_event_controller_set_propagation_phase() and #GtkPropagationPhase
* to know more about how events are delivered to event controllers.
*/
#include
"config.h"
#include
"config.h"
#include
<gtk/gtkeventcontroller.h>
#include
<gtk/gtkeventcontroller.h>
#include
"gtktypebuiltins.h"
#include
"gtktypebuiltins.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment