t; > scrollbar should
> > retain its width. The bottom (horizontal) scrollbar should retain its
> > height.
> table.attach(scroller_v, 1, 2, 0, 1, xoptions=0)
> table.attach(scroller_h, 0, 1, 1, 2, yoptions=0)
Perfect, thanks!
(works without setting homogeneous and without setti
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
On Tue, 2008-04-22 at 18:30 +0200, Thorsten Wilms wrote:
> What I also don't get at all: adj.page_size gives me 0.0.
Already found out this works better put after window.realize(),
giving 20.0. That can't be lines or pixels, though.
--
T
print adj.page_increment
print adj.page_size
view.set_vadjustment(adj)
adj.set_value(180.0)
print adj.value
# Connect
window.connect("destroy", gtk.main_quit)
window.realize()
window.show_all()
wport
it would be pixel-based, then?
At least I found out hat using a scrolledwindow has an advantage:
Scrolling to follow the cursor happens automatically.
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
On Mon, 2008-04-21 at 15:26 -0400, [EMAIL PROTECTED] wrote:
> I know there is a PyGTK class for a single-line entry, but what about
> multi-line entries (like entering a description of an item)?
I think TextView is what you are looking for.
--
Thorsten Wilms
thorwil's design for fr
e me a short example of how to scroll a viewport
with a textview in it?
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk