[Vala] Solved: Gtk+-3.0 Gtk.Entry fontcolor



Hi,

I've found the solution. The method I've used is deprecated.
This works:

var red = RGBA();
red.parse("#ff0000");

my_entry.override_color(StateFlags.NORMAL, red);

Regards

David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]