diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-05-03 05:01:04 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-03 05:01:04 +0000 |
commit | 968f80dfab550c47c67cd9341f40327ec38d7b3a (patch) | |
tree | dc4bda14db1b0e2d0942c00121438e9f8009f6c0 /gtk/gtkscrolledwindow.h | |
parent | 90f9ff75f68c76d42f2502891bd0325a54b7e079 (diff) | |
download | gtk+-968f80dfab550c47c67cd9341f40327ec38d7b3a.tar.gz |
Add getters for the scrollbars. (#167181, Billy Biggs)
2005-05-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_vscrollbar):
* gtk/gtk.symbols: Add getters for the scrollbars. (#167181,
Billy Biggs)
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r-- | gtk/gtkscrolledwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h index b3a74aa43b..a70d578e00 100644 --- a/gtk/gtkscrolledwindow.h +++ b/gtk/gtkscrolledwindow.h @@ -55,9 +55,11 @@ struct _GtkScrolledWindow { GtkBin container; + /*< public >*/ GtkWidget *hscrollbar; GtkWidget *vscrollbar; + /*< private >*/ guint hscrollbar_policy : 2; guint vscrollbar_policy : 2; guint hscrollbar_visible : 1; @@ -105,6 +107,8 @@ void gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolle GtkAdjustment *hadjustment); GtkAdjustment* gtk_scrolled_window_get_hadjustment (GtkScrolledWindow *scrolled_window); GtkAdjustment* gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_window); +GtkHScrollbar* gtk_scrolled_window_get_hscrollbar (GtkScrolledWindow *scrolled_window); +GtkVScrollbar* gtk_scrolled_window_get_vscrollbar (GtkScrolledWindow *scrolled_window); void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window, GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy); |