Help for setting styles



Sorry but I didn't find nothing in the documentation
I am sure it will be there .

Simple problem  I have a few entry widgets (GTK 1.2).
If a entry  becomes not editable the background
should change to gray. I tried to set the background by
gtkrc files like this



style "entry"
{
 bg[INSENSITIVE] = { 1.0,0.0,1,0 }
}
widget_class "*GtkEntry*" style "entry"

sometimes the boarder of the widget becomes a different color
but never the whole

Have I to set this in my C Code with the gtk style stuff.
Where can I find a short sample.

Thanks






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

PS:
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]