-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTK / File Dialogs #63
Comments
Yes it's available (GTK and macOS) :) https://github.com/nidium/Nidium/blob/master/src/Binding/JSWindow.cpp#L1119-L1120 window.openFileDialog(["jpg"], function(files) {}); Not implemented the save dialog yet though. Dragging files from the Desktop to the Window is also implemented on macOS but not in GTK. |
For reference, the GTK implementation is here : https://github.com/nidium/Nidium/blob/master/src/Interface/linux/X11UIInterface.cpp#L69 |
Woah, awesome! I've gotta say, nidium feels more and more like a wet dream for (native) App developers. Is there any way to contribute to the API docs or are they hosted in another repository I've overseen? Would love to write some docs, so people can find stuff like this quicker. |
The documentation for the api`s is in ./docs. |
We probably want to open the guide stuff for contribution. I'll try to figure out this asap |
Okay, now my question is: There are Open File dialogs and they work perfectly. Are there also Save File Dialogs? The window bindings and UI interface seem to have none available. So would this be a feature request? |
Indeed there is no save window. |
Is there an API available to open a GTK File dialog to open files from the system's native file browser?
That would ease up interaction with files much more. Otherwise, I guess, somebody would have to implement their own filesystem dialog in canvas / webgl to navigate around the system.
So if it's not available, this would be a feature request for:
The text was updated successfully, but these errors were encountered: