diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-01 15:40:50 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-04 17:01:18 -0400 |
commit | 937c94bab510645f543dc7b634fa2767372f268d (patch) | |
tree | f14c24264e09b9f2fbe8d751680f6a80166cded9 /gtk/gtkviewport.h | |
parent | 71433d01b3f249c0de4dfb45e36b937e31db1dc1 (diff) | |
download | gtk+-937c94bab510645f543dc7b634fa2767372f268d.tar.gz |
viewport: Add a child property
Diffstat (limited to 'gtk/gtkviewport.h')
-rw-r--r-- | gtk/gtkviewport.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkviewport.h b/gtk/gtkviewport.h index b1f430e169..d2b7d26384 100644 --- a/gtk/gtkviewport.h +++ b/gtk/gtkviewport.h @@ -48,7 +48,7 @@ GDK_AVAILABLE_IN_ALL GType gtk_viewport_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_ALL GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment, - GtkAdjustment *vadjustment); + GtkAdjustment *vadjustment); GDK_AVAILABLE_IN_ALL gboolean gtk_viewport_get_scroll_to_focus (GtkViewport *viewport); @@ -56,6 +56,12 @@ GDK_AVAILABLE_IN_ALL void gtk_viewport_set_scroll_to_focus (GtkViewport *viewport, gboolean scroll_to_focus); +GDK_AVAILABLE_IN_ALL +void gtk_viewport_set_child (GtkViewport *viewport, + GtkWidget *child); +GDK_AVAILABLE_IN_ALL +GtkWidget * gtk_viewport_get_child (GtkViewport *viewport); + G_END_DECLS |