GtkFileChooserButton

A button that launches a file chooser dialog.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBox
                            `-- GtkHBox
                                   `-- GtkFileChooserButton

Implemented Interfaces

Description

The GtkFileChooserButton is very similar in functionality to a GtkColorButton. It is a special kind of button that allows the user to select a file.

The button contains an area that displays the file name of the current file selected and also displays a button that allows the user to launch a file selection dialog. After the dialog is launched, the button is immediately associated to the new file selected by the user.

GtkFileChooserButton is only for selecting files or folders. It cannot be used for saving files.

Constructors

-- Creates a new GtkFileChooserButton

GtkFileChooserButton::new_with_backend (title, action, backend);

--

--

Methods

get_title()
  Returns the title of the file chooser dialog.
get_width_chars()
  Returns the width of the button.
set_title()
  Sets the title of the file chooser dialog.
set_width_chars()
  Sets the width between the button and its label.