FileDialog equivalent of FileChooser add_shortcut?

In the Gtk3 version of my app, I used Gtk.FileChooser.add_shortcut() to allow users to add their own open/save location shortcuts. These were saved per application ‘profile’ and users could have multiple profiles. This allowed them to easily find dedicated folders for the documents/media for each profile.

I can’t find the equivalent functionality in Gtk.FileDialog. It seems all I can do is set up global shortcuts via the Files app and have these visible in all the apps for the user. Have I missed something that would allow me to offer the app/profile specific shortcuts only in my app?

Cheers,
Pat

You have not missed anything: this functionality is not available when using native file dialogs, which is what GtkFileDialog uses internally.

1 Like

Thanks for the quick response and for the explanation. Another of those “beyond your control” things.