Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tk: Would it be possible to add light CSS support?

Closed / Invalid00afb529131193c7f55d3749cb3cfc9d97808f90Created 6 years agoUpdated 3 years ago
Descriptionplain2021-05-01 19:31:47
Hey Tcl/TK folks,

This is a Tk RFE suggestion.

But before I describe it, I wanted to pick "shevy" as name, but the 
webformular insisted that I have to use 6 chars. That's making me
a sad panda. I think the combination nick + email should suffice
UNLESS someone else may have that nick; but not if it is "not enough
characters", that's ... silly.

Anyway.

I have been using ruby-gtk3 for a few years, and they support some
of CSS. I don't care to suggest that Tk supports all of it, mind
you, but light weight CSS - borders, colours, padding ... these
elementary things.

I am using this in ruby-gtk3 so far but I have not figured out a
way to do so in tk; nor do I know what is supported.

Would it be possible for the dev team to consider a light weight
CSS implementation? Really just the very basics, and examples
that show how this can be used.

I already use ruby-gtk for my own needs, and I use the commandline
anyway (Linux guy here), but for elderly relatives I have to get
a GUI, since they can't use the commandline, and use windows.
Tk works quite well on windows; I got my examples working on
the first try (ruby-gtk is more work to get working).

CSS support, even if only basic and light weight, would help me
out a LOT. I already use www-related aspects since many years,
so using parts of this for ruby-gtk3 was trivial, and now I'd
love this for tk as well. (I actually use tk via the ruby-tk
bindings, but I assume it should work fine; for ruby-gtk we
use gobject-introspection and while it's not perfect, it 
works fine for simple use cases really).
dkfmarkdown2024-05-24 09:23:52
Log in (anonymous is fine) to add a comment.