Re: GtkStyle properties on Windows widgets
| From: | Steph | Date: | Wed, 24 Oct 2001 11:30:11 +0000 |
| Subject: | Re: GtkStyle properties on Windows widgets | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-421@lists.php.net to get a copy of this message | ||
I'm going to stop answering stuff like this in my sleep ..
Sorry, that was bad info. Widgets have ->window and ->style as properties.
----- Original Message -----
From: "Steph" <Steph.Fox@btinternet.com>
To: "PQ Administrator" <pqadmin@physicianquest.net>; "PHP-GTK"
<php-gtk-general@lists.php.net>
Sent: Wednesday, October 24, 2001 2:08 AM
Subject: Re: [PHP-GTK] GtkStyle properties on Windows widgets
$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
--
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