Re: Dev_GuiInspector
| From: | Madeleine D. | Date: | Fri, 27 Jan 2006 18:36:14 +0000 |
| Subject: | Re: Dev_GuiInspector | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6574@lists.php.net to get a copy of this message | ||
C -
I know, it's a pain.
What I've done is carry my key settings like font, etc. in an array, and then run a second function for turning the color background off, pulling the original settings out and restoring them the same way.
Madeleine D.
Christian Weiske wrote:
Madeleine,$newStyle =& new GtkStyle(); $newStyle->base[GTK_STATE_NORMAL] = $newBBColor; $entryFld->set_style($newStyle);Weirdily, making a new GtkStyle works. But all the style information is lost then, and if you have a theme set, the widget will loose that style.