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

Text widget: colors



i wonder how to set the background color of a text widget. when i launch
them, the background is always white. and writing into it with

gtk_text_insert(GTK_TEXT(entry), font, fg, bg, msg, strlen(msg));

where fg and bg are foreground and background colors is not the right thing
because the text background is not the widget background. furthermore, when
i set the fg color to {0, 0, 0, 0} (which should be black), the text
appears in red.

any ideas?

gernot


-- 
DI Kerschbaumer Gernot
Software Development
FREQUENTIS
A-1120 Wien, Spittelbreitengasse 34
gkerschb@frequentis.com



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