[gtkada] Set_Foreground

Preben Randhol randhol at pvv.org
Fri Jul 18 17:59:54 CEST 2003


Manuel Op de Coul <manuel.op.de.coul at eon-benelux.com> wrote on 18/07/2003 (17:38) :
> Set the style to the entry, but the text is still black.

If it is a label, do this instead:

   Gtk_New (My_Label, "<span color=""red"">My red label</span>");
   Set_Use_Markup (My_Label, True);

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list