diff options
author | Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org> | 2013-05-07 17:50:51 (GMT) |
---|---|---|
committer | Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org> | 2013-05-07 17:50:51 (GMT) |
commit | 990e241d7d382c08b9821bf0ca7e8208076f4e4b (patch) | |
tree | 937d561e45aa83985c76e98c36959307c52ae13f | |
parent | cd9702db40794712efc3797f033fede58792b314 (diff) |
Box 1 del Paned.
-rw-r--r-- | Box1.py | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# Box1.py +# Cristian García <cristian99garcia@gmail.com> +# Ignacio Rodríguez <nachoel01@gmail.com> + +from gi.repository import Gtk +from Widgets import Marcadores + +class Box1(Gtk.Box): + def __init__(self): + super(Box1, self).__init__(orientation=Gtk.Orientation.VERTICAL) + self.marcadores = Marcadores() + self.pack_start(self.marcadores, True, True, 0) + self.show_all() + +if __name__ == "__main__": + Ventana = Gtk.Window() + Ventana.add(Box1()) + Ventana.connect("delete-event", lambda x,i: exit()) + Ventana.show_all() + Gtk.main() |