Re: Re: Re: [PHP-GTK] GtkStyle properties on Windows widgets

From: Date: Wed, 24 Oct 2001 02:15:32 +0000
Subject: Re: Re: Re: [PHP-GTK] GtkStyle properties on Windows widgets
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-409@lists.php.net to get a copy of this message
It doesnt work for that particular widget, but makes some funky colors in on part of my menu tree and all the other Glade built windows ??? Very wierd. -----Original message----- From: "PQ Administrator" <pqadmin@physicianquest.net> To: "Steph" <Steph.Fox@btinternet.com> Cc: "PHP-GTK" <php-gtk-general@lists.php.net> Date: 10/23/2001(Tue)18:13 Subject: Re: Re: [PHP-GTK] GtkStyle properties on Windows widgets Like this? (It doesnt seem to work either) $winbgcol = &new GdkColor('#354992'); $gdkwindow = $gtkwindow->style; $gdkwindow->bg[GTK_STATE_NORMAL] = $winbgcol; Thanks... -----Original message----- From: "Steph" <Steph.Fox@btinternet.com> To: "PQ Administrator" <pqadmin@physicianquest.net>,"PHP-GTK" <php-gtk-general@lists.php.net> Date: 10/23/2001(Tue)17:08 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" To: "PHP-GTK" 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 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 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

« previous php.gtk.general (#409) next »