Hey everyone,
I would like to create a scrolled window that has other scrolled
windows inside it that each in turn contain a text widget. I have been
having trouble with this. What I have been attempting is creating a
scrolled window, putting a table into it, and then putting more scrolled
windows (each containing a text widget) at certain points of the table.
The problem is that the table seems to shrink so that it fits inside the
scrolled window without strecthing out so the top scrolled window can use
its scroll bars. For instance,
table.attach(self.sw,
# X direction Y direction
startx, endx, starty, endy,
gtk.EXPAND | gtk.FILL, gtk.EXPAND | gtk.FILL,
2,2)
where self.sw is a scrolled window that already contains a
textwidget. Prior to this call I set the text and self.sw widgets to the
size I would like. I end up with odd behavior where the widgets overlap or
the table doesnt work as I stated above.
Thanks
John Breen
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/