Example #1
0
		public static void SetForeground(this Gtk.Widget widget, Color color, GtkStateFlags state = GtkStateFlags.Normal)
		{
			widget.ModifyFg(state.ToGtk(), color.ToGdk());
		}
Example #2
0
		public static void SetTextColor(this Gtk.Widget widget, Color color, GtkStateFlags state = GtkStateFlags.Normal)
		{
			widget.ModifyText(state.ToGtk(), color.ToGdk());
		}