Sujet : Re: Named colours in Tk
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tclDate : 20. May 2025, 09:32:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <100hen2$252qj$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Am 19.05.2025 um 16:05 schrieb Alan Grunwald:
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.
Alan,
this is a long awaited low hanging fruit in Tk.
An "tkinfo colornames" should be implemented.
I would love to use it in colour chooser dropdown boxes etc.
Thanks,
Harald