GtkFileChooserWidget: GTK+ 4 Reference Manual

## GtkFileChooserWidget GtkFileChooserWidget — A file chooser widget |

## Functions

GtkWidget * | gtk_file_chooser_widget_new ()

## Types and Values

struct | GtkFileChooserWidget
struct | GtkFileChooserWidgetClass

## Includes

    #include <gtk/gtk.h>

## Description

GtkFileChooserWidget is a widget for choosing files. It exposes the GtkFileChooser interface, and you should use the methods of this interface to interact with the widget.

### CSS nodes

GtkFileChooserWidget has a single CSS node with name filechooser.

## Functions

### 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.

#### Parameters

action | Open or save mode for the widget |

#### Returns

a new GtkFileChooserWidget

Since: 2.4

## Types and Values

### struct GtkFileChooserWidget

    struct GtkFileChooserWidget {
      GtkWidget parent_instance;

      GtkFileChooserWidgetPrivate *priv;
    };

### struct GtkFileChooserWidgetClass

    struct GtkFileChooserWidgetClass {
      GtkWidgetClass parent_class;
    };

#### Members

## See Also

GtkFileChooserDialog