how to scroll a gtk_scrolled_window ?
- From: Gregory Hosler <ghosler redhat com>
- To: gtk-app-devel-list gnome org
- Subject: how to scroll a gtk_scrolled_window ?
- Date: Sun, 19 Aug 2007 21:32:20 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a gtk_scrolled_window() in a window, and occasionally there times when I
wish to force the window to be at the last line, regardless of where the
scrollbar is presently set.
In particular, I have widgets below the scrolled_window that hide/show
themselves as times, and when then show themselves, the scrolled window will
shrink a little (that's ok), but the scrolling effect is such that the top line
of the scrolled window remains in place, and the bottom lines are now scrolled
out of the viewport. When this happens, I want to automatically, scroll down to
the last line of the view port.
Any idea as to how might I achieve this ?
I have looked at the gtk_scrolled_window page for some methods of controlling
the viewport position and/or the scrollbar and didn't see anything that looked
like what I wanted. I also followed up with looking at the scrollbar routines,
to see if there was anything there, and nothing jumped out at me and looked like
what i was looking for.
So, now I'm open to suggestions :)
many thanks, and best rgds,
- -Greg
- --
+---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)
| Greg Hosler ghosler redhat com |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFGyEZi404fl/0CV/QRAsOFAKCGlINnreBYj6bBb+/X9oHflRpyIQCePQKY
TnoKEIjbiWpQWgGMH9pRl+0=
=rmIa
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]