libui icon indicating copy to clipboard operation
libui copied to clipboard

Master issue for standard dialog features

Open andlabs opened this issue 6 years ago • 12 comments

The current dialog system needs to be replaced before any of these can be done.

  • [ ] uiOpenFolder()
  • [ ] uiSaveFolder() (maybe)
  • [ ] not requiring a parent window (unlikely, but still listed)
  • [ ] selecting multiple files
  • [ ] file type filters (see #181 for notes)

This issue will be locked until I merge all the existing issues.

andlabs avatar Mar 24 '18 18:03 andlabs

Related PR: https://github.com/andlabs/libui/pull/190

mischnic avatar Mar 24 '18 18:03 mischnic

It would be cool if something like this were possible (custom elements in an attached dialog): But I don't know if this exists on other platforms.

bildschirmfoto 2018-04-03 um 20 12 11

mischnic avatar Apr 03 '18 18:04 mischnic

+1 for this. Also, it would be cool to have multiple file/folder selection feature.

LittleC avatar Apr 09 '18 09:04 LittleC

Would be great to have ui.OpenDir().

s0kil avatar Aug 07 '18 18:08 s0kil

I need a way to select a directory in the file system. Then my code will traverse that directory for files. Do I have to wait for the readiness of ui.OpenDir(), or there is something else I can use.

Thanks a lot!

yzhanginwa avatar Mar 21 '19 13:03 yzhanginwa

@mischnic that would be custom dialogs.

To everyone: I still haven't figured out how I'm going to do dialogs. I didn't seem to link it here, so this is the context for what the problem with just adding things now is. I need to formally rewrite this for this specific audience, though.

andlabs avatar Mar 21 '19 13:03 andlabs

Looking forward to this new feature...

zhaoguotao avatar Apr 09 '19 09:04 zhaoguotao

+1

fmyxyz avatar May 18 '19 14:05 fmyxyz

Is there any progress with this? I'm really looking forward to this. Being able to open a folder would be fantastic! :)

moridius avatar Jun 19 '20 17:06 moridius

https://github.com/msink/libui/commit/33d8f2b0d9c10cbfc70edee17a1cf33455306c22

msink avatar Jun 19 '20 17:06 msink

would like to know if this feature available yet? desperately need to have a dialog to select folder ...

mon7erey avatar Mar 10 '21 10:03 mon7erey

It would be nice to center a dialog on top of its parent window if it is specified and center it in entire screen otherwise. Tk does exactly that with its message boxes.

AndyObtiva avatar Oct 18 '21 16:10 AndyObtiva