Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors

From: Date: Fri, 19 Oct 2001 01:57:43 +0000
Subject: Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-332@lists.php.net to get a copy of this message
It's obviously a long time since I've tried :) cool. ----- Original Message ----- From: "Andrei Zmievski" <andrei@ispi.net> To: "Steph" <steph.fox@btinternet.com>; "Markus Fischer" <mfischer@guru.josefine.at>; "PQ Administrator" <pqadmin@physicianquest.net> Cc: "PHP-GTK" <php-gtk-general@lists.php.net> Sent: Friday, October 19, 2001 2:55 AM Subject: Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors > At 02:49 AM 10/19/01 +0100, Steph wrote: > >What Markus omits to say because it's obvious to him (& not necessarily > >anyone else) is that 65535 is equal to 256*(256-1) > > > >ie it's the harsh end of the spectrum for any of the RGB colours, and > >easier to code than you'd expect ;) > > You can pass hex string to GdkColor constructor or even a color name: > > new GdkColor('#ff00ff'); > new GdkColor('LightOrange'); > > The color names are the ones defined by the X server. There should be a > list of them on your filesystem somewhere. > > > -Andrei > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

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