From 38c40751c7f55b544251d84efe549131d2994766 Mon Sep 17 00:00:00 2001 From: flavio Date: Mon, 08 Apr 2013 20:49:25 +0000 Subject: Paneles --- (limited to 'Widgets.py') diff --git a/Widgets.py b/Widgets.py index 30733a3..e055886 100644 --- a/Widgets.py +++ b/Widgets.py @@ -220,3 +220,23 @@ class MainToolbar(Gtk.Toolbar): boton.set_tooltip_text(tooltip) return boton + +class BasePanel(Gtk.Paned): + + def __init__(self): + + Gtk.Paned.__init__(self, orientation=Gtk.Orientation.HORIZONTAL) + + workpanel = WorkPanel() + + self.pack2(workpanel, resize = True, shrink = True) + + self.show_all() + +class WorkPanel(Gtk.Paned): + + def __init__(self): + + Gtk.Paned.__init__(self, orientation=Gtk.Orientation.VERTICAL) + + self.show_all() \ No newline at end of file -- cgit v0.9.1