Fork me on GitHub
#humbleui
<
2024-03-03
>
michael zhou13:03:46

HumbleUI is great, does anyone know how to open a local folder and select a file?

Niki20:03:35

Not possible right now, it will need an implementation in JWM to support that

michael zhou06:03:52

Thanks @U050UBKAA looking forward to the new features.

prabhasp00:03:12

I got a prototype working for this on Mac, by adding this to the Window interface, though I'm not sure that's the right thing to do

public abstract void showFilePicker(Consumer<String> callback);
@U050UBKAA - curious what you think the right API for the file-picker is. Happy to make a PR if what I'm doing is close to what you'd expect.