On Friday, February 13th, 2026 at 08:52, Daniel Kochmański <daniel@turtleware.eu> wrote:
By the way, does McCLIM have a file selector?
Not that I'm aware of. Perhaps it was scrapped at some point. Writing a basic gadget for that purpose wouldn't be very hard though - polishing it would be. For example clim-listener already has presentation-based file explorer -- subsequent directories are presented after each command, but that could be rehashed to be put in a single redisplaying output block in a dialog I think.
I've developed a file selector dialog for McCLIM. It's in Quicklisp as "select-file". (It also works in Franz Allegro CLIM since my application is multi-platform). Unfortunately, it's a little out of date now since (for various boring reasons) I'm still on McCLIM of March 2024. Also, it's not a gadget as such but an implementation of the function select-file in the Franz Inc CLIM 2 User Guide section 19.4 – with a much more attractive and usable interface than the Franz version. Here's a screenshot so you can see what it looks like and get an idea of how to interact with it: https://users.sussex.ac.uk/~johnca/selectfile.png Perhaps some of the code could be repurposed to make a gadget. John