Hi,
I have a problem using pyenchant : I can launch GtkSpellCheckerDialog with a specific text, with this code :
text = textbuffer.get_text(textbuffer.get_start_iter(),textbuffer.get_end_iter())
printf(["BEFORE:", text])
chk_dlg = GtkSpellCheckerDialog()
chk_dlg.set_icon_from_file('favicon1.ico')
chk_dlg.show()
chk_dlg.connect('delete_event', validAbc)
chkr = SpellChecker("fr",self.text)
chk_dlg.setSpellChecker(chkr)
chk_dlg.updateUI()
(textbuffer is a buffer defined before in my program).
Now, I try to get the corrected text generated by GtkSpellCheckerDialog. How can I do that ?
Thank you in advance for your help !
Floréal.