From 2dd3d1609a14d6c7ebfa7084b65eb10957cde3fa Mon Sep 17 00:00:00 2001 From: Walther Neuper Date: Tue, 15 Dec 2009 09:26:32 +0000 Subject: collect_table --> calc; new finish_learner_collect --- diff --git a/ReckonPrimer.activity/collection.py b/ReckonPrimer.activity/collection.py index 3c2120b..ea7ff39 100644 --- a/ReckonPrimer.activity/collection.py +++ b/ReckonPrimer.activity/collection.py @@ -58,7 +58,7 @@ class Collection: self._display.collection_table.attach(self.topic_box, 0, 6, 0, 1) #self._display.collection_table.attach(self.topic_box, 0, 6, 5, 6) - def set_coll_gui(self): + def set_coll_gui(self, coll_data): """ Set gui-elements according to Collection.data. """ #WN.LV diesen Code ersetzen !!!!! _i = 0 diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index fca2c58..1fbdee3 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -365,7 +365,8 @@ class Display: def offer_coll_to_learner(self, collect): """TODO: get the users choice from buttons above the settings""" collect.define_coll_gui() - collect.set_coll_gui() # sets callbacks + collect.set_coll_gui(collect) # sets callbacks + self.finish_learner_collect() # set finish_learner_collect_butt + callb def switch_exercise(self): """ Another exercise has been selected. """ @@ -382,3 +383,6 @@ class Display: def set_select_exerc_semaphore(self, coll_key): """ Sets a semaphore for finish_collect_callback. """ self._coll_key = coll_key + + def finish_learner_collect(self): + pass -- cgit v0.9.1