If I understand correctly you want to make the VTE's change their size
acording to the users preferences, so that one terminal will expand and the
other one shrink.
I have done just that using the gtk.VPaned and gtk.HPaned classes. They can
hold two widgest each so I just packed gtk.Paned inside gtk.Paned objects.
8, 2007 9:15 AM, Seltzer <[EMAIL PROTECTED] > wrote:
> 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 = gtk.Frame("stream control")
> > term_sos_out = vte.Terminal()
> > hb_sos_out = gtk.HBox()
> > sb_sos_out = 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.
> >
> > _______________________________________________
> > pygtk mailing list [email protected]
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> >
> >
>
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/