Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/GnomExplorer.py
diff options
context:
space:
mode:
Diffstat (limited to 'GnomExplorer.py')
-rw-r--r--GnomExplorer.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/GnomExplorer.py b/GnomExplorer.py
index c651507..50b10e0 100644
--- a/GnomExplorer.py
+++ b/GnomExplorer.py
@@ -6,17 +6,25 @@
# Python Joven - CeibalJAM! Uruguay
from gi.repository import Gtk
+from Widgets import Toolbar
+from MainPaned import MainPaned
-
-class GnomeExplorer(Gtk.Window):
+class GnomExplorer(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self)
self.connect('delete-event', lambda x,i: exit())
+
+ self.box_principal = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
+ toolbar = Toolbar()
+ paned = MainPaned()
+ self.box_principal.pack_start(toolbar, False, False, 0)
+ self.box_principal.pack_start(paned, True, True, 6)
+ self.add(self.box_principal)
self.show_all()
if __name__ == '__main__':
- GnomeExplorer()
+ GnomExplorer()
Gtk.main()