[gtkada] How do one get a black background for a label?

Preben Randhol randhol at pvv.org
Fri May 19 09:38:28 CEST 2000


manuel.op.de.coul at ezh.nl wrote on 18/05/2000 (14:51) :
> 
> Try something like this:
> 
>     My_Style : Gtk.Style.Gtk_Style;
>  begin
>     Gtk.Style.Gtk_New(My_Style);
>     Gtk.Style.Set_Base(My_Style, State_Normal, Parse("black"));
>     Gtk.Style.Set_Foreground(My_Style, State_Normal, Parse("white"));
> 
>     Gtk.Style.Set_Style( <label> , My_Style);

I think I tried that, but I'll try again.

-- 
Preben Randhol -- [randhol at pvv.org] -- <http://www.pvv.org/~randhol/>
         "Det eneste trygge stedet i verden er inne i en fortelling."
                                                      -- Athol Fugard





More information about the gtkada mailing list