[pygtk] Scrolling with no scrollbars
Thorsten Wilms
t_w_ at freenet.de
Wed Apr 23 04:06:58 WST 2008
On Tue, 2008-04-22 at 18:30 +0200, Thorsten Wilms wrote:
> In the version where placed the textview in a scrolledwindow, adj.upper
> returns 204.0. But any value I set below to including 204.0 only scrolls
> the view a few line, it doesn't even come close to the end.
> What I also don't get at all: adj.page_size gives me 0.0.
>
> I'm trying to do this in main, to get the basic concept of scrolling a
> textview, before seeing how I can connect my special scrollbar:
So the problem must be some kind of incomplete initialisation.
But nevermind, I moved on to connect my scrollbar and suddenly, in my
callback, I get sensible values :)
Sorry for the noise!
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
More information about the pygtk
mailing list