diff options
Diffstat (limited to 'ReckonPrimer.activity/display.py')
-rwxr-xr-x | ReckonPrimer.activity/display.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index 517897e..55fd6af 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -21,9 +21,9 @@ class Display: def __init__(self, window): self._permanent_gui_elements(window) self.errors = 0 + self._ex = None self._sett = None # setting updated by callbacks during input self.running = False # first round of calculations - self.active_topic = None def register(self, sess, co, learner): """register _after_ Session and Coach have been instantiated""" @@ -90,8 +90,8 @@ class Display: # Insert the 3 tables into the right half of the screen self.table.attach(self.settings_table, 1, 2, 0, 5) - self.table.attach(self.collection_table, 1, 2, 0, 5) - self.table.attach(self.feedback_table,1, 2, 0, 5) + self.table.attach(self.collection_table,1, 2, 0, 5) + self.table.attach(self.feedback_table, 1, 2, 0, 5) # show all tables, scrolled_window already shown above self.settings_table.show() @@ -248,9 +248,6 @@ class Display: end_iterator = self.log_buffer.get_end_iter() self.log_buffer.insert(end_iterator, "\n") self.log_view.scroll_mark_onscreen(self.log_buffer.get_insert()) - - - def destroy_box(self): self.calculation_box.destroy() |