[pygtk] Terminal Resizing
Seltzer
squabbit7 at gmail.com
Wed Nov 28 16:15:04 WST 2007
Hello,
i have three vte widgets arranged in a vertical box.
each vte widget is inside of an hbox to group it with its scrollbar, and
a frame to label it, like so.
f_sos_out =3D gtk.Frame("stream control")
term_sos_out =3D vte.Terminal()
hb_sos_out =3D gtk.HBox()
sb_sos_out =3D gtk.VScrollbar(term_sos_out.get_adjustment())
sb_sos_out.show()
hb_sos_out.pack_end(sb_sos_out, False, False, 0)
hb_sos_out.pack_start(term_sos_out)
f_sos_out.add(self.hb_sos_out)
The problem that im having is with resizing these terminals. the main window
that
they are all in can be adjusted in size, and the user can select to have
one, two,
or three of them open at a time. with most widgets ive added to boxes, the
things
packed into them just resize automatically. the vte terminals wont do this
for me, and
ive been unable to get them to.
any ideas?
felix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20071128/9d45f416/at=
tachment.htm
More information about the pygtk
mailing list