diff options
author | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-06-23 22:25:28 (GMT) |
---|---|---|
committer | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-06-23 22:25:28 (GMT) |
commit | 72a64861720a53fd4852952d1429cb5054e1f91c (patch) | |
tree | f8e30cba891203601ecbdf7be3f98159ae51ec8e | |
parent | 9884958b2a525e618faa69aeca0f120916d7122b (diff) |
Agregue la caja self._hbox al la caja Canvas
-rw-r--r-- | Activity.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Activity.py b/Activity.py index 3810553..dba6b49 100644 --- a/Activity.py +++ b/Activity.py @@ -107,12 +107,13 @@ class Canvas(gtk.VBox): gtk.VBox.__init__(self) self._hbox = gtk.HBox() - self.combo1 = gtk.Combo() - self.combo2 = gtk.Combo() + self.combo1 = gtk.ComboBox() + self.combo2 = gtk.ComboBox() - self._hbox.add(gtk.Label("Of ")) - self._hbox.add(self.combo1) - self._hbox.add(gtk.Label("to")) - self._hbox.add(self.combo2) + self._hbox.pack_start(gtk.Label("Of "), True) + self._hbox.pack_start(self.combo1, True) + self._hbox.pack_start(gtk.Label("to"), True) + self._hbox.pack_start(self.combo2, True) + self.pack_start(self._hbox, False) self.show_all() |