Req #61438 [Opn->Sus]: color_to_hex functionally

From: Date: Tue, 24 Oct 2017 23:13:35 +0000
Subject: Req #61438 [Opn->Sus]: color_to_hex functionally
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4712@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61438&edit=1 ID: 61438 Updated by: kalle@php.net Reported by: bert at bhack dot net Summary: color_to_hex functionally -Status: Open +Status: Suspended Type: Feature/Change Request Package: PHP-GTK related Operating System: Ubuntu PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened. Previous Comments: ------------------------------------------------------------------------ [2012-03-19 16:13:08] bert at bhack dot net Description: ------------ There is no easy way to convert the rgb values from a GdkColor object to normal hex or rgb. GdkColor uses seperate red, green and blue values ranging from 0 to 65535. Test script: --------------- print_r($colorbutton->get_color()); [0] => GdkColor Object ( [red] => 56815 [green] => 7663 [blue] => 7663 [pixel] => 0 ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61438&edit=1

« previous php.gtk.dev (#4712) next »