[Tutor] advice
Alan Gauld
alan.gauld at btinternet.com
Tue Nov 29 01:45:36 CET 2011
On 28/11/11 22:05, Chris Hare wrote:
> Is there some way of displaying rich text files, such as RTF or HTML
> from within a python Tkinter widget?
Not so much RTF but you can set different fonts and colours etc within
the standard text widget. You could either use HTML or a subset to save
your styles and interpret that when loading the widget.
But its much more common these days to just use HTML and launch a
browser. The browser module may help there.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list