Forum und email

GtkFileChooserButton

A button that launches a file chooser dialog.

オブジェクトの階層

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

Implemented Interfaces

説明

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.

コンストラクタ

-- Creates a new GtkFileChooserButton

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

--

--

メソッド

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.