Re: [gtk-list] Re: [Q] gtk_widget_set_style
- From: Didier Verna <verna inf enst fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: [Q] gtk_widget_set_style
- Date: 28 Jan 1998 11:00:46 +0100
Tero Pulkkinen <terop@students.cc.tut.fi> writes:
> I'm not sure exactly how the style stuffs work, but by default I'd guess the
> get_style() function returns a ptr to a statically allocated "default"
> style and changing that will cause every widget in your app have that change.
>
> Thus, you should make a new style with gtk_style_new() and copy the default
> style to that and then set the new style to the widget.
>
> Just a guess :)
A good guess indeed :-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]