Re: GtkColorButton proposal

From: Date: Sun, 18 Dec 2005 17:20:54 +0000
Subject: Re: GtkColorButton proposal
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2124@lists.php.net to get a copy of this message
Also, I've been wondering about the GdkColor constructor... Supplying it with RGB values must be very rare, personally I belive it would be nice to have it accept strings as parse() method does, something like: $red = new GdkColor("red"); $red = new GdkColor("#ff0000"); Sure, it'd be nice, but it wouldn't be simple to implement. Assuming it's possible at all. The respective GTK methods expect those parameters - integers in the GdkColor constructor, or a color spec in the form of a string for Gdk::color_parse. Given that color specification strings are system-dependant (rgb.txt) I think it's probably better to let sleeping dogs lie... but I'll defer to Andrei :) ----- Original Message ----- From: "Jp" <jp@jp-corner.uni.cc> To: "Steph Fox" <steph@zend.com> Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Sunday, December 18, 2005 7:08 PM Subject: Re: [PHP-GTK-DEV] GtkColorButton proposal

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