Req #61438 [Opn->Sus]: color_to_hex functionally
[email protected] Tue, 24 Oct 2017 23:13:35 GMT
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=61438&edit=1 ID: 61438 Updated by: [email protected] 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