[EMAIL PROTECTED] wrote: > I am using the standard python GUI Tkinter as my program's main > interface. Although I know wxPython has some widget to support rich > text widget, but I do not have time to shift to wx---- series. Does > anyone know any Tkinter based widget that support: > > 1. Blod, Italic, Underline and their combinations. > 2. Several most commonly used fonts, like Times New Roman and Arial > 3. Multiline text > 4. Cross platform support. Available in Linux-RedHat and Mac OS series > and Windows 2000 or above. > 5.Image embedding. Support jpeg, gif, bmp. The more the better. > > and better support: > Hyperlink, Text color, the more the better.
Tkinter's standard Text widget can do all this, of course: http://effbot.org/tag/Tkinter.Text by default, Tkinter only supports GIF and PPM, but you can use PIL's ImageTk.PhotoImage class instead of Tkinter's own PhotoImage to get support for ~30 more formats: http://www.pythonware.com/products/pil/ http://effbot.org/tag/PIL.ImageTk to deal with hyperlinks, use tag event bindings: http://effbot.org/zone/tkinter-text-hyperlink.htm ::: there's in fact a complete browser built on top of Tk's Text widget: http://grail.sourceforge.net/ but I don't know how much work it would be to "widgetize" that application. hope this helps! </F> -- http://mail.python.org/mailman/listinfo/python-list