GNOME Bugzilla – Bug 167181
API to get scrollbars from GtkScrolledWindow
Last modified: 2011-02-04 16:18:41 UTC
It is unclear to me whether GtkScrolledWindow->[h,v]scrollbar are public. Bug 133263 added a signal to indicate how a GtkRange was manipulated by the user when they scroll. We would like to use this API to get hints for how the user interacted with the scrollbars on a GtkScrolledWindow. Unfortunately, to connect to the signal I need to get the scrollbars themselves, or write my own scrolled window widget.
We should probably just document the scrollbars as public api.
Created attachment 45128 [details] [review] Implement get_hscrollbar, get_vscrollbar
I also need to access the scrollbars to connect to their signals. Language bindings need these methods as they cannot directly accesss the members of GtkScrolledWindow.
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)