## GtkFileChooserWidget

GtkFileChooserWidget — File chooser widget that can be embedded in other widgets

## Synopsis

    #include <gtk/gtk.h>

    struct              GtkFileChooserWidget;
    GtkWidget *         gtk_file_chooser_widget_new         (GtkFileChooserAction action);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkFileChooserWidget

## Implemented Interfaces

GtkFileChooserWidget implements AtkImplementorIface, GtkBuildable, GtkOrientable, GtkFileChooser and GtkFileChooserEmbed.

## Description

GtkFileChooserWidget is a widget suitable for selecting files. It is the main building block of a GtkFileChooserDialog. Most applications will only need to use the latter; you can use GtkFileChooserWidget as part of a larger window if you have special needs.

Note that GtkFileChooserWidget does not have any methods of its own. Instead, you should use the functions that work on a GtkFileChooser.

## Details

### struct GtkFileChooserWidget

    struct GtkFileChooserWidget;

### gtk_file_chooser_widget_new ()

    GtkWidget *         gtk_file_chooser_widget_new         (GtkFileChooserAction action);

Creates a new GtkFileChooserWidget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by GtkFileChooserDialog.

`action` : | Open or save mode for the widget
Returns : | a new GtkFileChooserWidget

Since 2.4

## See Also

GtkFileChooser, GtkFileChooserDialog