On 28/12/05, Tristan Van Berkom <tristan van berkom gmail com
> wrote:
Heh,
I was just jotting it down from memory; I didn't actually
expect it to compile out of the box ;-)
I don't expect answers out of the box.... :). I do check with the
documentation and the source code.... :) So here we go..... Firstly let
me paste Tristan's previous reply to this email too:
Tristan said:
you can:
o Create a sample GtkToggleButton
o Make copies of the GdkColor structs on widget->style.bg[GTK_STATE_NORMAL]
(or is it ACTIVE ?), you might also want the .fg, .base & .text members.
you'd want to do this post gtk_rc_parse().
o Use gtk_widget_modify_bg (widget, GTK_STATE_INSENSITIVE, sensitive_bg)
(and friends) to set the sensitive graphic state onto the insensitive state.
o gtk_widget_set_sensitive (widget, FASLE);