From e491da532a5009812f802cefeba4167e418fe409 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 May 2014 15:45:31 -0400 Subject: [PATCH] Some more input handling docs --- docs/reference/gtk/input-handling.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/reference/gtk/input-handling.xml b/docs/reference/gtk/input-handling.xml index 4d3b286747..9e8e6cd2c0 100644 --- a/docs/reference/gtk/input-handling.xml +++ b/docs/reference/gtk/input-handling.xml @@ -61,8 +61,21 @@ the window with the keyboard focus. - GDK translates these raw windowing system events into #GdkEvents, and - passes these on to GTK+ by means of gdk_event_handler_set(). + GDK translates these raw windowing system events into #GdkEvents. + Typical input events are: + + GdkEventButton + GdkEventMotion + GdkEventCrossing + GdkEventKey + GdkEventFocus + GdkEventTouch + + + + When GTK+ is initialized, it sets up an event handler function with + gdk_event_handler_set(), which receives all of these input events + (as well as others, for instance window management related events).