Set background color to ToggleButton

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

 



Hi, I'm writing a simple GTK# application trying to change the background color to a ToggleButton:

            ToggleButton firstButton = new ToggleButton ("Push me", targetColor);
            firstButton.ModifyBg (StateType.Active, targetColor);

However, the background color does not change when it's pushed.

Do you know how can I change the toggle's background color when the button is pushed?

Thanks in advance.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux