Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/CeibalEncuesta/gtk3/Widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'CeibalEncuesta/gtk3/Widgets.py')
-rwxr-xr-xCeibalEncuesta/gtk3/Widgets.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/CeibalEncuesta/gtk3/Widgets.py b/CeibalEncuesta/gtk3/Widgets.py
index 37ab47d..8aa6186 100755
--- a/CeibalEncuesta/gtk3/Widgets.py
+++ b/CeibalEncuesta/gtk3/Widgets.py
@@ -1672,9 +1672,11 @@ class GeneralWidget(Gtk.Box):
box = Gtk.Box(orientation = Gtk.Orientation.HORIZONTAL)
#anterior = Gtk.Button("Anterior")
+ continuar = Gtk.Button("Continuar")
siguiente = Gtk.Button("Siguiente")
#box.pack_start(anterior, True, True, 0)
+ box.pack_start(continuar, True, True, 0)
box.pack_start(siguiente, True, True, 0)
self.pack_start(box, False, False, 0)
@@ -1687,6 +1689,7 @@ class GeneralWidget(Gtk.Box):
self.__new_group(None, grupos[0]) # Forzar nueva lista
#anterior.connect("clicked", self.__anterior)
+ continuar.connect("clicked", self.__continuar)
siguiente.connect("clicked", self.__siguiente)
#def __anterior(self, widget):
@@ -1761,6 +1764,10 @@ class GeneralWidget(Gtk.Box):
self.scroll_list.set_size_request(200,-1)
+ def __continuar(self, widget):
+
+ self.get_parent().get_parent().get_parent().hide()
+
def __new_selection(self, widget, encuestado):
"""
Cuando el usuario cambia de Encuestado.