GtkStyle properties on Windows widgets
| From: | PQ Administrator | Date: | Wed, 24 Oct 2001 02:05:34 +0000 |
| Subject: | GtkStyle properties on Windows widgets | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-406@lists.php.net to get a copy of this message | ||
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