Exemplo n.º 1
0
 public static void SetTextColor(this Gtk.Widget widget, Color color, GtkStateFlags state = GtkStateFlags.Normal)
 {
     widget.ModifyText(state.ToGtk(), color.ToGdk());
 }
Exemplo n.º 2
0
 public static void SetTextColor(this Gtk.Widget widget, Gtk.StateType state, Xwt.Drawing.Color color)
 {
     widget.ModifyText(state, color.ToGtkValue());
 }