Hey Guys,
can someone tell me how to use the FileChooserNative. I didn’t managed to get the informations from the C tutorial.
Now my code looks like this
let open_dialog = FileChooserNative::new(
Some("choose your File"),
Some(&window),
FileChooserAction::Open,
Some("Öffnen"),
Some("Abbrechen"),
);
open_dialog.show();
Note that you have to keep the dialog alive somehow until the response has happened as it’s a native dialog and not a proper GTK window (which are kept alive by GTK).