gtkspell.Spell
gtkspell.Spell — Spell object for gtk.TextView
Description
The gtkspell.Spell
used in concert with gtk.TextView
provides mis-spelled word highlighting in red and offers a right click pop-up menu with suggested corrections.
Constructor
gtkspell.Spell(text=None, lang=None)
|
Creates a new gtkspell.Spell object.
Methods
gtkspell.Spell.set_language
lang : | the language to use in the form "en_US". |
The set_language() method set the language that have to be used while checking for mispelled words.
gtkspell.Spell.recheck_all
The recheck_all() method recheck the spelling in the entire buffer.
Functions
gtkspell.get_from_text_view
def gtkspell.get_from_text_view(view)
|
Retrieves the gtkspell.Spell object attached to a text view.