Re: Re: [PHP-GTK] GtkStyle properties on W indows widgets

From: Date: Wed, 24 Oct 2001 02:13:30 +0000
Subject: Re: Re: [PHP-GTK] GtkStyle properties on W indows widgets
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-408@lists.php.net to get a copy of this message
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

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