Re: colorselectiondialog

From: Date: Thu, 10 Oct 2002 00:49:57 +0000
Subject: Re: colorselectiondialog
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2522@lists.php.net to get a copy of this message
function new_colour($cs) { if($cs->get_color() !== array(1.0, 1.0, 1.0, 1.0)) { $newcolourparts = $cs->get_color(); $part1 = $newcolourparts[0]; $rr = dechex ($part1*255); $part2 = $newcolourparts[1]; $gg = dechex ($part2*255); $part3 = $newcolourparts[2]; $bb = dechex ($part3*255); $newcolour = "#$rr$gg$bb"; } } > On a buttonclick an colorselectiondialog opens, but how do I get the > actual selected color-value back to PHP ?

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