summaryrefslogtreecommitdiff
path: root/gtk/gtkroot.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-21 23:51:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-21 23:53:07 -0500
commit6e735f709bd8a4df52b3430fbf6e3ae10eebb9bd (patch)
treeb608c624edc57f936850511f8efd3fd9f8f7bdba /gtk/gtkroot.h
parent41c0ac1a68a7203df45f49ee5feca41eb05fcf39 (diff)
downloadgtk+-more-root.tar.gz
root: Add focus and default widgetsmore-root
These are part of what GtkRoot will manage. Use the GtkRoot api for them in the inspector.
Diffstat (limited to 'gtk/gtkroot.h')
-rw-r--r--gtk/gtkroot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkroot.h b/gtk/gtkroot.h
index e3494fcc7a..6dabde6162 100644
--- a/gtk/gtkroot.h
+++ b/gtk/gtkroot.h
@@ -51,6 +51,8 @@ struct _GtkRootInterface
void (* get_surface_transform) (GtkRoot *root,
int *x,
int *y);
+ GtkWidget * (* get_focus) (GtkRoot *root);
+ GtkWidget * (* get_default) (GtkRoot *root);
};