diff options
author | flavio <fdanesse@gmail.com> | 2013-04-08 20:49:25 (GMT) |
---|---|---|
committer | flavio <fdanesse@gmail.com> | 2013-04-08 20:49:25 (GMT) |
commit | 38c40751c7f55b544251d84efe549131d2994766 (patch) | |
tree | a390169cf02564637e5cd240d602414dcebb9558 /Widgets.py | |
parent | e143e5a1d34e7104de7a9b5c91213999211db479 (diff) |
Paneles
Diffstat (limited to 'Widgets.py')
-rw-r--r-- | Widgets.py | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |