Re: help with GtkStyles
- From: Paul Davis <pbd Op Net>
- To: Rich Payne <rdp talisman alphalinux org>
- Cc: gtk-list gnome org, Andrei Zmievski <andrei ispi net>
- Subject: Re: help with GtkStyles
- Date: Thu, 26 Jul 2001 13:53:13 -0400
>can anybody tell me if each widget has its own GtkStyle structure/object
>or do all the widgets in an app share the same?
AFAIK, styles have names. all instances of the same-named style use a
single shared object.
>The reason I'm asking is that I've been doing some work in php-gtk (Gtk+
>bindings for php) and have come across the case where modifying the style
>of one widget (in this case a CList) also effects the others (a CTree and
>a GtkText) unless I specifically copy the GtkStyle, modify the copy
>and then change the widget's Style to be the new GtkStyle.
Yep, thats precisely it. I think :)
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]