Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# filechooser.hh File Reference

A GtkFileChooser C++ wrapper interface. More...

`#include <xfc/glib/type.hh>`
`#include <xfc/gtk/filefilter.hh>`
`#include <gtk/gtkfilechooser.h>`
`#include <vector>`
`#include <xfc/gtk/inline/filechooser.inl>`

## Namespaces

- namespace Xfc
- namespace Xfc::G
- namespace Xfc::Gtk

## Classes

- class Xfc::Gtk::FileChooser
    A GtkFileChooser C++ wrapper class. More...

## Enumerations

- enum FileChooserAction {
  FILE_CHOOSER_ACTION_OPEN = GTK_FILE_CHOOSER_ACTION_OPEN,
  FILE_CHOOSER_ACTION_SAVE = GTK_FILE_CHOOSER_ACTION_SAVE,
  FILE_CHOOSER_ACTION_SELECT_FOLDER = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
  FILE_CHOOSER_ACTION_CREATE_FOLDER = GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
  }
    Describes whether a FileChooser is being used to open existing files or to save to a possibly new file. More...
- enum FileChooserError {
  FILE_CHOOSER_ERROR_NONEXISTENT = GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
  FILE_CHOOSER_ERROR_BAD_FILENAME = GTK_FILE_CHOOSER_ERROR_BAD_FILENAME
  }
    These identify the various errors that can occur while calling FileChooser functions. More...

## Detailed Description

A GtkFileChooser C++ wrapper interface.

Provides FileChooser, an object

## Enumeration Type Documentation

enum FileChooserAction

  | Describes whether a FileChooser is being used to open existing files or to save to a possibly new file. Enumeration values:
  FILE_CHOOSER_ACTION_OPEN | Indicates open mode; The file chooser will only let the user pick an existing file.
  FILE_CHOOSER_ACTION_SAVE | Indicates save mode; The file chooser will let the user pick an existing file, or type in a new filename.
  FILE_CHOOSER_ACTION_SELECT_FOLDER | Indicates an Open mode for selecting folders; The file chooser will let the user pick an existing folder.
  FILE_CHOOSER_ACTION_CREATE_FOLDER | Indicates a mode for creating a new folder; The file chooser will let the user name an existing or new folder.

enum FileChooserError

  | These identify the various errors that can occur while calling FileChooser functions. Enumeration values:
  FILE_CHOOSER_ERROR_NONEXISTENT | Indicates that a file does not exist.
  FILE_CHOOSER_ERROR_BAD_FILENAME | Indicates a malformed filename.

Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3