From f11b8797f454872f8fa4c2dd9879704c5384cae3 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 9 Nov 2006 11:29:11 -0800 Subject: [PATCH] Pack the terminal&scrollbar boxes into a paned widget for resizing goodness --- vte-demo.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/vte-demo.py b/vte-demo.py index 4c47d997..78fb9f48 100755 --- a/vte-demo.py +++ b/vte-demo.py @@ -100,9 +100,15 @@ if __name__ == '__main__': box = gtk.HBox() box.pack_start(terminal) box.pack_start(scrollbar) - box.pack_start(terminal2) - box.pack_start(scrollbar2) - window.add(box) + box2 = gtk.HBox() + box2.pack_start(terminal2) + box2.pack_start(scrollbar2) + + pane = gtk.HPaned() + pane.add1(box) + pane.add2(box2) + + window.add(pane) window.show_all() gtk.main()