---
name: "Gtk2::FileChooserDialog"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::FileChooserDialog"
---

# Gtk2::FileChooserDialog(3pm)

wrapper for GtkFileChooserDialog

## NAME

Gtk2::FileChooserDialog - wrapper for GtkFileChooserDialog

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Window
                                +----Gtk2::Dialog
                                     +----Gtk2::FileChooserDialog
```

## INTERFACES

```
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::FileChooser
```

## METHODS

### widget = Gtk2::FileChooserDialog-\>new ($title, $parent, $action, ...)

- •

  `$title` (string)

- •

  `$parent` (Gtk2::Window or undef)

- •

  `$action` (Gtk2::FileChooserAction)

- •

  ... (list) list of button-text =\> response-id pairs

### widget = Gtk2::FileChooserDialog-\>new\_with\_backend ($title, $parent, $action, $backend, ...)

- •

  `$title` (string)

- •

  `$parent` (Gtk2::Window or undef)

- •

  `$action` (Gtk2::FileChooserAction)

- •

  ... (list) list of button-text =\> response-id pairs

- •

  `$backend` (string)

## ENUMS AND FLAGS

### enum Gtk2::FileChooserAction

- •

  'open' / 'GTK\_FILE\_CHOOSER\_ACTION\_OPEN'

- •

  'save' / 'GTK\_FILE\_CHOOSER\_ACTION\_SAVE'

- •

  'select-folder' / 'GTK\_FILE\_CHOOSER\_ACTION\_SELECT\_FOLDER'

- •

  'create-folder' / 'GTK\_FILE\_CHOOSER\_ACTION\_CREATE\_FOLDER'

## SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gtk2 for a full notice.
