Re: base property of GtkStyle
| From: | Andre Colomb | Date: | Thu, 15 Mar 2007 18:05:18 +0000 |
| Subject: | Re: base property of GtkStyle | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7751@lists.php.net to get a copy of this message | ||
On Thu, 15 Mar 2007 08:44:33 -0700 (PDT)
kksou <kksou@kksou.com> wrote:
> First get the default bg color of the window with:
> $org_bg = $window->get_style()->bg[Gtk::STATE_NORMAL];
Thanks for the quick answer. It works perfectly now.
Would be great to have these properties documented at least at a basic
level, this array behaviour is not transparent in any way. (Neither is
the StyleHelper type...)
Andre
--
Greetings...
From: Andre Colomb <acolomb@schickhardt.org>