Re: GtkStyle properties on Windows widgets
| From: | Steph | Date: | Wed, 24 Oct 2001 01:08:10 +0000 |
| Subject: | Re: GtkStyle properties on Windows widgets | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-407@lists.php.net to get a copy of this message | ||
$gdkwindow = $gtkwindow->window;
& gdkstyle is a gdkwindow property.
Does that help any?
----- Original Message -----
From: "PQ Administrator" <pqadmin@physicianquest.net>
To: "PHP-GTK" <php-gtk-general@lists.php.net>
Sent: Wednesday, October 24, 2001 3:05 AM
Subject: [PHP-GTK] GtkStyle properties on Windows widgets
>
> Im using the following code to change the BG color of my window labeled('window1')
> but its not working..
>
>
> $col1 = &new GdkColor('#354992');
> $wincurstyle = $window1->get_style();
> $winnewstyle = $wincurstyle->copy();
> $winnewstyle->bg[GTK_STATE_NORMAL]= $col1;
>
> What did I do wrong here? (always has to be me ;(=)
>
> TIA
>
> Troy McComas
> Networks/System Admin. & Developer
> PhysicianQuest.com
> admin@physicianquest.com
> Office - (818)550-8777 or (626)282-0288
> Cell- (626)255-9833
> <!-- -->
> Powered by PhysicianQuest.com
>
>
--------------------------------------------------------------------------------
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net