After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167181 - API to get scrollbars from GtkScrolledWindow
API to get scrollbars from GtkScrolledWindow
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-12 17:52 UTC by Billy Biggs
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement get_hscrollbar, get_vscrollbar (1.79 KB, patch)
2005-04-11 09:59 UTC, Stephen Kennedy
none Details | Review

Description Billy Biggs 2005-02-12 17:52:32 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.
Comment 1 Matthias Clasen 2005-02-15 03:20:15 UTC
We should probably just document the scrollbars as public api.
Comment 2 Stephen Kennedy 2005-04-11 09:59:01 UTC
Created attachment 45128 [details] [review]
Implement get_hscrollbar, get_vscrollbar
Comment 3 Stephen Kennedy 2005-04-11 10:05:03 UTC
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.
Comment 4 Matthias Clasen 2005-05-03 05:01:10 UTC
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)