Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ReckonPrimer.activity/exercise.py
diff options
context:
space:
mode:
Diffstat (limited to 'ReckonPrimer.activity/exercise.py')
-rwxr-xr-xReckonPrimer.activity/exercise.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/ReckonPrimer.activity/exercise.py b/ReckonPrimer.activity/exercise.py
index 69ceeac..c824214 100755
--- a/ReckonPrimer.activity/exercise.py
+++ b/ReckonPrimer.activity/exercise.py
@@ -63,11 +63,19 @@ class Exercise:
pass
def define_buttons(self):
- """ Define buttons for update settings including callbacks. """
+ """ Define buttons for update settings including callbacks.
+ The widgets are local to exerc-instances and attached to the display:
+ # self.butt.connect('toggled',self.butt_callback)
+ # self._display.settings_table.attach(self.butt, 1,2,3,4)
+ And the callbacks run locally, but read and write in the display:
+ # def butt_callback(self, widget)
+ # if widget.get_active():
+ # self._display._sett['+'] = True
+ """
pass
def set_buttons(self, sett):
- """ Display buttons according to the current setting. """
+ """ Display buttons according to the current setting sett. """
pass
#===== methods is used by more than one subclass