Hy,
I did the following: edit malory5.tbf, save it in xml format
and try to reload it. Nothing appears on the screen.
Is the edition of XML currently supported by TreeTrans?
My name: David Chiner
Mi email: d8106525@est.fib.upc.es
Thank you.
P.S: There is a portion of commented code in
tree_draw.py:
"""
event['LoadXMLFile'] = foo
self.filename=foo
self.callback(event)
tree_string = ''
event2 = {}
event2['LoadSentence'] = tree_string
self.callback(event2)
# now event2 has been updated with the new
sentence that you want to load
#self.loadSentences(event2['LoadSentence'])
self.nested_lists = event2['LoadSentence']
self.loadSentences()
self.window.top.title(self.filename)
self.active = 1
self.window.clear_everything()
self.displaying_sentence = 0
"""