On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?

        RGBA rgb = new RGBA(1,0.5,0.5,1.0);
        Button btn_1 = new Button("Start");
        btn_1.overrideBackgroundColor(StateFlags.NORMAL, rgb);

The color of btn_1 just doesn't change.

https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-override-background-color

Reply via email to