Skip to content

Conversation

@mattVHartley
Copy link

I've implemented a directory dialog that works on windows and on linux,

I've used zenity for linux (implementation is practically the same as file_dialog, albeit with an extra arg)
Windows uses SHBrowseForFolder and required the including shlobj.h

@arpit15
Copy link

arpit15 commented Aug 8, 2020

@mattVHartley I extended your implementation to apple. I am wondering what is the use-case of saved_path argument. How about changing that use-case to bool save. This option saves the last traversed path as done in file_dialog?

@wjakob
Copy link
Member

wjakob commented Oct 24, 2022

Sorry for taking a very, very (!) long time to respond. This looks useful, but to actually consider merging it, there would need to be a macOS code-path as well.

@wjakob wjakob force-pushed the master branch 11 times, most recently from e9c6fc9 to 0f47fe0 Compare October 27, 2022 21:06
arpit15 added a commit to Robo-Touch/nanogui that referenced this pull request Sep 12, 2023
@wjakob wjakob force-pushed the master branch 4 times, most recently from e0b2078 to 111a540 Compare August 26, 2025 05:23
@wjakob wjakob force-pushed the master branch 24 times, most recently from 2f2e29f to 9d91e56 Compare September 1, 2025 22:08
@wjakob wjakob force-pushed the master branch 6 times, most recently from c75898b to 1bbd038 Compare September 6, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants