diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-21 00:13:57 -0500 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:37:31 +0000 |
commit | 9132f1831ce50177f35b7a3b6a98c8db0e20487c (patch) | |
tree | cb7d0c51a2b6f44a67229ab1f749b001a78b1038 /gdk/gdkevents.h | |
parent | 3d04c0f4be797fdbcbda4a00e2dd6dd91b38eac1 (diff) | |
download | gtk+-9132f1831ce50177f35b7a3b6a98c8db0e20487c.tar.gz |
docs: Rework the gdk docs
Convert links, make things more concise.
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r-- | gdk/gdkevents.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 2b87754eec..e038501cd2 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -47,10 +47,9 @@ G_BEGIN_DECLS #define GDK_IS_EVENT_TYPE(event, type) (gdk_event_get_event_type ((event)) == (type)) /** - * GDK_PRIORITY_EVENTS: + * GDK_PRIORITY_EVENTS: (value: 0) * - * This is the priority that events from the X server are given in the - * [GLib Main Loop][glib-The-Main-Event-Loop]. + * This is the priority that events from the X server are given in the main loop. */ #define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT) @@ -58,8 +57,7 @@ G_BEGIN_DECLS * GDK_PRIORITY_REDRAW: (value 120) * * This is the priority that the idle handler processing surface updates - * is given in the - * [GLib Main Loop][glib-The-Main-Event-Loop]. + * is given in the main loop. */ #define GDK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20) @@ -216,9 +214,11 @@ typedef enum * @GDK_TOUCHPAD_GESTURE_PHASE_CANCEL: The gesture was cancelled, all * changes should be undone. * - * Specifies the current state of a touchpad gesture. All gestures are - * guaranteed to begin with an event with phase %GDK_TOUCHPAD_GESTURE_PHASE_BEGIN, - * followed by 0 or several events with phase %GDK_TOUCHPAD_GESTURE_PHASE_UPDATE. + * Specifies the current state of a touchpad gesture. + * + * All gestures are guaranteed to begin with an event with phase + * %GDK_TOUCHPAD_GESTURE_PHASE_BEGIN, followed by 0 or several events + * with phase %GDK_TOUCHPAD_GESTURE_PHASE_UPDATE. * * A finished gesture may have 2 possible outcomes, an event with phase * %GDK_TOUCHPAD_GESTURE_PHASE_END will be emitted when the gesture is @@ -494,8 +494,9 @@ gboolean gdk_events_get_center (GdkEvent *event1, * (specifically, the currently active group) is ignored * @GDK_KEY_MATCH_EXACT: The key event matches * - * The possible return values from gdk_key_event_matches() - * describe how well an event matches a given keyval and modifiers. + * Describes how well an event matches a given keyval and modifiers. + * + * `GdkKeyMatch` values are returned by [method@Gdk.KeyEvent.matches]. */ typedef enum { GDK_KEY_MATCH_NONE, |