Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You are sick, twisted and perverted. I like that in a person.


comp / comp.lang.tcl / Re: Translucent overlay of photo

SubjectAuthor
o Re: Translucent overlay of photoandreas.kupries@gmail.com

1
Subject: Re: Translucent overlay of photo
From: andreas.kupries@gmai
Newsgroups: comp.lang.tcl
Date: Thu, 2 May 2024 11:58 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!cmacleod.me.uk!.POSTED!not-for-mail
From: user152@cmacleod.me.uk.invalid (andreas.kupries@gmail.com)
Newsgroups: comp.lang.tcl
Subject: Re: Translucent overlay of photo
References: <uv1elg$3lsrg$1@dont-email.me>
Date: Thu, 02 May 24 11:58:24 GMT
Message-ID: <1714651104-152@cmacleod.me.uk>
Injection-Info: cmacleod.me.uk; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user152
Injection-Date: Thu, 02 May 24 11:58:24 GMT
User-Agent: Newsgrouper/0.5
View all headers

Claude Rubinson <cjr@grundrisse.org> posted:

> I have a Tk app that has a series of photos arranged in a grid. Each
> photo is embedded in its own canvas. I'd like to indicate that a photo
> has been selected by the user by highlighting it with a translucent
> overlay. Is this possible? My initial investigation indicates that Tk
> doesn't (yet) support alpha blending?

As yet another possibility you may want to have a look at the `imgdisplaymulti.tcl` found at

https://chiselapp.com/user/andreas_kupries/repository/jtools/dir?ci=b6ebc326f0763148904c76cca8aab5d297531303&name=lib/jedit

It uses TkTreeCtrl (aka `treectrl`) for the grid, and let it handle the highlighting.

The repo provides an app (`jedit`) demoing the packages.

1

rocksolid light 0.9.8
clearnet tor