Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Widgets.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2013-04-08 20:49:25 (GMT)
committer flavio <fdanesse@gmail.com>2013-04-08 20:49:25 (GMT)
commit38c40751c7f55b544251d84efe549131d2994766 (patch)
treea390169cf02564637e5cd240d602414dcebb9558 /Widgets.py
parente143e5a1d34e7104de7a9b5c91213999211db479 (diff)
Paneles
Diffstat (limited to 'Widgets.py')
-rw-r--r--Widgets.py20
1 files changed, 20 insertions, 0 deletions
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