set_action


Description:

public void set_action (FileChooserAction action)

Sets the type of operation that the chooser is performing.

Note:

Use [class@Gtk.FileDialog] instead

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_file_chooser_action_save but not if the action is gtk_file_chooser_action_open.

Parameters:

this

a `GtkFileChooser`

action

the action that the file selector is performing