Next: , Previous: GtkFileChooserDialog, Up: Top


84 GtkFileChooserWidget

File chooser widget that can be embedded in other widgets

84.1 Overview

<gtk-file-chooser-widget> is a widget suitable for selecting files. It is the main building block of a <gtk-file-chooser-dialog>. Most applications will only need to use the latter; you can use <gtk-file-chooser-widget> as part of a larger window if you have special needs.

Note that <gtk-file-chooser-widget> does not have any methods of its own. Instead, you should use the functions that work on a <gtk-file-chooser>.

84.2 Usage

— Class: <gtk-file-chooser-widget>

Derives from <gtk-file-chooser-embed>, <gtk-file-chooser>, <gtk-vbox>.

This class defines no direct slots.

— Function: gtk-file-chooser-widget-new (action <gtk-file-chooser-action>) ⇒  (ret <gtk-widget>)

Creates a new <gtk-file-chooser-widget>. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by <gtk-file-chooser-dialog>.

action
Open or save mode for the widget
ret
a new <gtk-file-chooser-widget>

Since 2.4