[gtkada] Set_Foreground

Manuel Op de Coul manuel.op.de.coul at eon-benelux.com
Fri Jul 18 17:18:36 CEST 2003


I can't seem to figure out why Gtk.Style.Set_Foreground doesn't
work anymore in 2.2.0 as it did in 1.2. I've spent hours but
still don't know what's wrong.
I also looked in the Gtk+ docs and the function isn't even there!
Also no mention in 2.0-transition.txt so I assume it ought to
work as before.

What I do is simple, I create a text entry, a new style, call
Set_Foreground(My_Style, State_Normal, Parse("red"));
Set the style to the entry, but the text is still black.

Can anyone help?

Manuel




More information about the gtkada mailing list