Changing GtkEntry widget style



I would like to change GtkEntry widget background color when this
widget gets focus. I am able to changed background color while
creating widget (with get_widget_get_style, changing style->base[0]
and then setting with get_widget_set_style). But doing same in
signal handler attached to "focus-in" signal does not give any
results.

Please, help.

Slobodan Tomic.




Attachment: pgpgCDL3F4Rb2.pgp
Description: PGP signature



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