Re: Named colours in Tk

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Named colours in Tk
De : ralfixx (at) *nospam* gmx.de (Ralf Fassel)
Groupes : comp.lang.tcl
Date : 19. May 2025, 16:35:46
Autres entêtes
Message-ID : <ygaplg4aa0d.fsf@akutech.de>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
* Alan Grunwald <nospam.nurdglaw@gmail.com>
| Tk recognises a lot of colour names, as documented at, say,
| https://www.tcl-lang.org/man/tcl9.0/TkCmd/colors.html Is it possible
| to get a list of them?
>
| I guess I could hack it out of one of the source files, but I'd hope
| to be able to get it in a cleaner fashion.

That would probably be xlib/xcolors.c with a very tricky table and
binary search algo.

Note that the plain text doc/colors.n contains at least one error
('agua' vs 'aqua').

R'

Date Sujet#  Auteur
19 May 25 * Named colours in Tk12Alan Grunwald
19 May 25 +- Re: Named colours in Tk1Ralf Fassel
19 May 25 +* Re: Named colours in Tk5Ian
19 May 25 i`* Re: Named colours in Tk4Robert Heller
20 May 25 i +- Re: Named colours in Tk1Ian
20 May 25 i +- Re: Named colours in Tk1Schelte
20 May 25 i `- Re: Named colours in Tk1Alan Grunwald
20 May 25 +- Re: Named colours in Tk1et99
20 May 25 +* Re: Named colours in Tk2Harald Oehlmann
20 May 25 i`- Re: Named colours in Tk1Alan Grunwald
20 May 25 +- Re: Named colours in Tk1Olivier
20 May 25 `- Re: Named colours in Tk1greg

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal