diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-18 23:30:16 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:51:03 -0500 |
commit | 89c3a7ab24cb16e8b64aa924170d0a38bada8a65 (patch) | |
tree | d107e70906f1122b37071db409afb8aa00e2d9b3 /gtk/gtkeventcontrollerkey.h | |
parent | 7bb6abb1d4e4616521fbcfe2d080f9b2c96afb0e (diff) | |
download | gtk+-89c3a7ab24cb16e8b64aa924170d0a38bada8a65.tar.gz |
wip: Add more information to crossing events
Add fields for direct descendents to GtkCrossingData,
and populate them when emitting focus change events.
Also add accessors for these fields to GtkEventControllerKey,
and verify that they are set properly in the focus test.
Not done yet: Do the same for pointer crossing events.
Diffstat (limited to 'gtk/gtkeventcontrollerkey.h')
-rw-r--r-- | gtk/gtkeventcontrollerkey.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkeventcontrollerkey.h b/gtk/gtkeventcontrollerkey.h index 755947d255..4aa22777d6 100644 --- a/gtk/gtkeventcontrollerkey.h +++ b/gtk/gtkeventcontrollerkey.h @@ -62,6 +62,10 @@ GDK_AVAILABLE_IN_ALL GtkWidget * gtk_event_controller_key_get_focus_origin (GtkEventControllerKey *controller); GDK_AVAILABLE_IN_ALL GtkWidget * gtk_event_controller_key_get_focus_target (GtkEventControllerKey *controller); +GDK_AVAILABLE_IN_ALL +GtkWidget * gtk_event_controller_key_get_old_focus_child (GtkEventControllerKey *controller); +GDK_AVAILABLE_IN_ALL +GtkWidget * gtk_event_controller_key_get_new_focus_child (GtkEventControllerKey *controller); GDK_AVAILABLE_IN_ALL gboolean gtk_event_controller_key_contains_focus (GtkEventControllerKey *self); |