[Vala] Gtk+-3.0 Gtk.Entry fontcolor

2012-08-13 Thread David Boesner
Hi everyone, I try to change the color of the text in a Gtk.Entry. I try it this way: Gdk.Color red; if(Gdk.Color.parse(RED,out red)==true); print(\that works); // that gets printed if(my_entry.text.length = 9 !(my_entry.text[8].to_string()

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

2012-08-13 Thread Eric Gregory
On Mon, Aug 13, 2012 at 4:59 AM, David Boesner david.boes...@gmail.comwrote: my_entry.modify_text(my_entry.get_state(), red); According to the docs, modify_text() is a deprecated method. Have you tried using override_color() instead? - Eric