This example demonstrates how the FileChooserDialog can be used. It is incorporated into a very simple text editor application. All the actions, including the "open", "save" and "save-as" commands can be found in the app-menu. Here, the app-menu is created using an XML UI file, which is then imported into the application using Gtk.Builder.
In this sample we used the following:
FileChooser
FileChooserDialog
Gtk.Builder
GLib.ActionEntry