GTKD - overrideBackgroundColor of Button doesn't work

TheDGuy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 15 02:03:45 PDT 2016


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.


More information about the Digitalmars-d-learn mailing list