summaryrefslogtreecommitdiff
path: root/gtk/gtkrootprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-02 08:45:13 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-03-16 21:24:44 -0400
commitab5d3e756b21646ec57f4978fdc2312cf1a845e6 (patch)
treefb4d0ad2414ba8bd7c55c5f56f89bca704c236af /gtk/gtkrootprivate.h
parent92f1bdcf45dbb87ad9a537879bd5c5eae59964e7 (diff)
downloadgtk+-ab5d3e756b21646ec57f4978fdc2312cf1a845e6.tar.gz
root: Add focus
Add a getter and a setter for the focus widget. The default implementations do nothing.
Diffstat (limited to 'gtk/gtkrootprivate.h')
-rw-r--r--gtk/gtkrootprivate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkrootprivate.h b/gtk/gtkrootprivate.h
index 07ddc380e5..357bc6441f 100644
--- a/gtk/gtkrootprivate.h
+++ b/gtk/gtkrootprivate.h
@@ -11,6 +11,14 @@ GskRenderer * gtk_root_get_renderer (GtkRoot
void gtk_root_get_surface_transform (GtkRoot *self,
int *x,
int *y);
+enum {
+ GTK_ROOT_PROP_FOCUS_WIDGET,
+ GTK_ROOT_NUM_PROPERTIES
+} GtkRootProperties;
+
+guint gtk_root_install_properties (GObjectClass *object_class,
+ guint first_prop);
+
G_END_DECLS
#endif /* __GTK_ROOT_PRIVATE_H__ */