Re: Different Colors i an entry widget?

Hi Günther

With a style you can't change the font / color per character - GtkStyles
base on GtkWidgets.

You can format text when you use the GtkTextView / GtkTextBuffer stuff.
With the right signals connected (i.e. GtkTextBuffer - "insert-text") it
should be possible to "emulate" constraints like a GtkEntry. Maybe start
with "textview.c" from the "gtk-demo" directory in the Gtk+ sources.



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