Re: [gtk-list] Re: background colors




On Sat, 3 Oct 1998, Scott Stone wrote:
> 
> using styles ...?  every time I try that, it changes the style for *every
> widget*.  each widget's style pointer points to the same memory address,
> according to gdb.
> 

You want make a copy of the style, change it, then set the copy as the
style of the widget(s) you're trying to affect. gtk_style_copy,
gtk_widget_set_style are the functions you want.

Havoc




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