Re: [gtk-list] Re: background colors
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: background colors
- Date: Fri, 2 Oct 1998 11:30:49 -0500 (CDT)
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]