diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-03-20 04:50:48 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-03-20 04:50:48 (GMT) |
commit | c9f5b6ad86fa1e5e0d7cd5a3418188092141f73b (patch) | |
tree | aa7f10d797186ff10c359fb858520af4047c8222 /src/sugar/tutorius/filters.py | |
parent | a411058e3825f2257d0a3fec7cc96ccc39713169 (diff) |
TutoriusV2 : Adding linear tutorial creator wih basic tests
Diffstat (limited to 'src/sugar/tutorius/filters.py')
-rw-r--r-- | src/sugar/tutorius/filters.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sugar/tutorius/filters.py b/src/sugar/tutorius/filters.py index 4c04cf6..3acbb36 100644 --- a/src/sugar/tutorius/filters.py +++ b/src/sugar/tutorius/filters.py @@ -37,6 +37,13 @@ class EventFilter(object): """ return self._next_state + def set_next_state(self, new_next_name): + """ + Setter for the next state. Should only be used during construction of + the event_fitler, not while the tutorial is running. + """ + self._next_state = new_next_name + def install_handlers(self, callback, **kwargs): """ install_handlers is called for eventfilters to setup all |