diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-03-02 08:45:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-03-16 21:24:44 -0400 |
commit | ab5d3e756b21646ec57f4978fdc2312cf1a845e6 (patch) | |
tree | fb4d0ad2414ba8bd7c55c5f56f89bca704c236af /gtk/gtkrootprivate.h | |
parent | 92f1bdcf45dbb87ad9a537879bd5c5eae59964e7 (diff) | |
download | gtk+-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.h | 8 |
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__ */ |