Bug clist set_*color

From: Date: Mon, 01 Dec 2003 02:41:02 +0000
Subject: Bug clist set_*color
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4260@lists.php.net to get a copy of this message
Hi, i am trying to set the background / foreground color of clist elements. It will not work this way. for ($i=1;$i<100;$i++) { $color = &new GdkColor(0, 65535, 65535); $clist->set_foreground($i,$color); $row[0] = 'something'; $clist->append($row); } But it will work if i set only row number by hand $clist->set_foreground(1,$color); So it is basicly impossible to alternate color dynamicly. Does anybody has a solution ? Thanks for the help Yann

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