gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Fwd: lack of rtf wigit


From: Horst Herb
Subject: Re: [Gnumed-devel] Fwd: lack of rtf wigit
Date: Mon, 05 Aug 2002 10:13:36 +1000
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a) Gecko/20020611

Karsten Hilbert wrote:
Yes, In VB just use a rich text box. It seems a bit of an oversight that such
a common file format is not supported in wxPython.

But it is ! Albeit only on Windows. Just use a wxTextCtrl
with the styles wxTE_RICH or wxTE_RICH2.

It works on Linux/GTK too, but it does not understand RTF format. All the rich text widget can do is display formatted text (bold, italics, colours, fonts, sizes, alignments etc) - but the data structure to save and retrieve the text from/to the widgets are entirely up to you.

Horst





reply via email to

[Prev in Thread] Current Thread [Next in Thread]