Add advanced features to a tkinter Text widget

Viewed 21916

I am working on a simple messaging system, and need to add the following to a Tkinter text widget:

  1. Spell Check
  2. Option To Change Font ( on selected text )
  3. Option to change font color ( on selected text )
  4. Option to Change Font Size ( on selected text )

I understand that the tkinter Text widget has the ability to use multiple fonts and colors through the tagging mechanism, but I don't understand how to make use of those capabilities.

How can I implement those features using the features of the Text widget? Specifically, how can I change the font family, color and size of words, and how could I use that to implement something like spellcheck, where misspelled words are underlined or colored differently than the rest of the text.

2 Answers
Related