[gtkada] trying toset a color

jf Menon jean-francois.menon at meteo.fr
Tue Feb 14 12:33:44 CET 2006


hello,

I try to set the bacground color of a label, and it doesn't work:

c_white, c_black : Gdk_Color;
    c_white := Gdk.Color.White(Gtk.Widget.Get_Default_Colormap);
    Modify_Bg(lb, State_Normal , c_white);

the label stays gray. Modify_Fg works fine.

can someone help me ?

thanks

jf





More information about the gtkada mailing list