hi I tried the solution given, which actually helped another problem i was having... but i'm still having problems getting the terminal windows to resize smaller
than the default size they open up as. I cant seem to get them to get any smaller than they want to be. i have tried to set size methods, and the panel method, but to no avail. any other ideas to get them to resize? i need the to be able to shrink as much as i need them to. thanks, felix On Nov 28, 2007 6:00 AM, Shalom Kramer <[EMAIL PROTECTED]> wrote: > > > 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.Panedobjects. > > 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 pygtk@daa.com.au > > > http://www.daa.com.au/mailman/listinfo/pygtk > > > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > > > > > > > >
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/