public static void SetForegroundColor(this Gtk.Widget widget, Gtk.StateFlags state, Xwt.Drawing.Color color) { widget.OverrideColor (state, color.ToGtkRgbaValue ()); }