color label in windows ??

From: Date: Wed, 13 Mar 2002 17:40:39 +0000
Subject: color label in windows ??
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1502@lists.php.net to get a copy of this message
Hi... I was wondering if I can set a color in a label in windows... I know it can be done, but i followed an example in the mailing list but it didn´t work for me... Here is my code, it doesnt work and it doesnt print any error message.. the label is still black :( $label_n = &new GtkLabel($label); $estilo_actual = $label_n->get_style(); $estilo_nuevo = $estilo_actual->copy(); $color = &new GdkColor('#FFFFFF'); $estilo_nuevo->base[GTK_STATE_NORMAL]=$color; $label_n->set_style($estilo_nuevo); Thanks for your help. Roberto Villarreal

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