Re: widget colors/fonts



On Thu, 10 Aug 2000, Martijn van Beers wrote:

> On Wed, Aug 09, 2000 at 11:14:35PM -0400, Havoc Pennington wrote:
> > 
> > Hi,
> > 
> > I think we have discussed convenience routines for modifying widget
> > styles, but never proposed an API. So here is a proposal:
> > 
> > void gtk_widget_set_color (GtkWidget *widget,
> >                            GtkRcFlags component,
> >                            GtkStateType state,
> >                            GdkColor  *color);
> 
> What's the purpose of this? Seems to me it only makes it easier for apps
> to hard-code colors that clash with your theme's.

 I think there are cases in which this would be useful (like marking
GtkEntries with errors, etc) - so such functionality should be present.

> 
> Martijn
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 

 Best regards,
  -Vlad





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