hantic
1
Is it possible to open a FileDialog window from the Eto Forms library on Mac?
I tried running
But I got an exception thrown
class FindFiles(forms.FileDialog):
def __init__():
super(FileFiles, self).__init__()
v = FindFiles()```
curtisw
(Curtis Wensley)
2
FileDialog
is an abstract class, try using OpenFileDialog
or SaveFileDialog
, which you do not have to subclass to use:
import Eto.Forms as forms
import Rhino.UI as ui
v = forms.OpenFileDialog()
v.ShowDialog(ui.RhinoEtoApp.MainWindow)
hantic
3
Thank you! Is it possible to allow it to select multiple files? I checked here and didn’t see something but wanted to double check