Skip to content
Snippets Groups Projects
Commit 6d59f30b authored by Benoit Favre's avatar Benoit Favre
Browse files

prevent interference from automatic scrolling on user actions

parent 56635e22
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,12 @@ developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-t ...@@ -20,8 +20,12 @@ developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-t
Todo: Todo:
- refactor:
events = click action or words to resynchronize ? events = click action or words to resynchronize ?
click line = synchronize to that line
click section = select that section
click action = perform action and synchronize to the next line
non intrusive animated scrolling
global action send which deals with global action send which deals with
- show a warning (optional) - show a warning (optional)
- sned action through osc - sned action through osc
...@@ -30,7 +34,11 @@ add global timer which shows elapsed time ...@@ -30,7 +34,11 @@ add global timer which shows elapsed time
change xml view to reflect already performed actions, already recognized text change xml view to reflect already performed actions, already recognized text
configuration for osc configuration for osc
make configuration box persistant make selector a proper window
make configuration box options persistant
add thread for slu
allow sequence advance in slu, add UI for that
...@@ -141,6 +141,7 @@ class XmlView(Gtk.ScrolledWindow): ...@@ -141,6 +141,7 @@ class XmlView(Gtk.ScrolledWindow):
self.add_with_viewport(self.vbox) self.add_with_viewport(self.vbox)
self.last_section = None self.last_section = None
self.connect('scroll-event', lambda widget, event: animate.cancel())
def get_view(self): def get_view(self):
return self return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment