Sets the type of operation that the chooser is performing.
The user interface is adapted to suit the selected action.
For example, an option to create a new folder might be shown if the action is gtk.types.FileChooserAction.Save but not if the action is gtk.types.FileChooserAction.Open.
the action that the file selector is performing
Deprecated: Use gtk.file_dialog.FileDialog instead
Sets the type of operation that the chooser is performing.
The user interface is adapted to suit the selected action.
For example, an option to create a new folder might be shown if the action is gtk.types.FileChooserAction.Save but not if the action is gtk.types.FileChooserAction.Open.