xinsir wrote: > i want to use rc file to set window style > like this code : > > style "mybutton" > { > fg[NORMAL] ={1.0,0,0} > bg[NORMAL] ={0.9,0.9,0} > } > > widget_class "btnOk.GtkButton" style "mybutton" > > > but it is invaild. what is the matter?
Hi, to set the style for all buttons, do: widget_class "*GtkButton" style "mybutton" To set the style for an invididual button, set the button name and then do: widget "*btnOK" style "mybutton" John ========================================================== Aelbert Cuyp 13 February - 12 May 2002 For information and tickets: http://www.nationalgallery.org.uk/exhibitions/cuyp/ _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list