Hello,
Gtk rc files include style declarations like
style "xxx" { ... }
I'm wondering if it's possible for programs to refer to names like 'xxx'.
Just to be clear, I've written sort of a taskbar in pygtk. The buttons
in the taskbar change colour to show which task has the focus.
Currently I do this rather clumsily, & a nicer solution would be
to have
style "focussed" { ... bg[NORMAL] = { 0.0, 0.3, 0.7 } ... }
style "unfocussed" { ... bg[NORMAL] = { 0.0, 0.7, 0.3 } ... }
in the rc file, & have the program change the button styles using
these names when the focus changes task.
Thanks for any help,
Brian Keck
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk