[Gambas-user] Richtext Editcontrol?

Joern Koerner joern.koerner at ...18...
Fri Aug 12 10:18:07 CEST 2005


On Thursday 11 August 2005 19:42, Rob wrote:
> On Thursday 11 August 2005 07:16, Marco Bauer wrote:
> > > Is there something like a RichText edit-Control in Gambas, or
> > > KWord integration?
> >
> > Hi Joern,
> > you can use the TextView control to display text with different
> > fonts, sizes, colors etc. using HTML tags. For example:
>
> Unfortunately, as far as I know there's no way to edit text using a
> TextView control.  Qt has a QTextEdit widget to do this, but I think
> it's only available starting with 4.0.  I'm not sure about KDE (as
> Joern suggested, it may be that the KDE solution is to embed KWord
> using DCOP.)
>
> However, it should be possible to implement one in the meantime by
> subclassing TextView and intercepting key presses etc.  If not
> TextView, then I guess you'd have to use a DrawingArea and write your
> own HTML parsing code.... ewwww.

...I already guessed it... ;-)

 Joern




More information about the User mailing list