GtkFileChooser::get_action
GtkFileChooserAction get_action();
Returns the action of the file chooser. defined through the set_action() method.
It can be Gtk::FILE_CHOOSER_ACTION_OPEN or Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER.
See also: set_action()