Different Colors i an entry widget?

Hi to all

as I understand is the style structure uniq to the widget.
Each widget can have its own struct ok.

Now I want to change the color in a entry widget only for a few characters like this
this black text this is red text this is again black text.

How can I manage this :
is ist possible to change the style struct only for a few characters
assigning text to the widget with   gtk_editable_insert_text
than changing the style and then again   gtk_editable_insert_text
with the new color or font.
Does anybody have a working code example for this?

Thanks günther
R=I+S  Rapp Informatik Systeme GmbH
       Rosenbühlstr. 24
       D-89182 Bernstadt
       Tel:  +49 (0)7348-7755
       Fax:  +49 (0)7348-6086
E-MAIL  mailto: guenther rapp-informatik de
WEB             www.rapp-informatik.de

Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie  http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html

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