---
name: "GFile"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GFile"
---

# GFile(3o)

The new file chooser widget

## NAME

GFile - The new file chooser widget

## Module

Module   GFile

## Documentation

Module **GFile**\
  :  **sig end**

The new file chooser widget

**===** **GtkFileFilter** **===**

*class filter :* **\[\> Gtk.file\_filter \] Gtk.obj -\> object end**

**Since** GTK 2.4

*val filter* :  **?name:string -\>** **?patterns:string list -\> ?mime\_types:string list -\> unit -\> filter**

**Since** GTK 2.4

**===** **GtkFileChooser** **===**

*class type chooser\_signals =* **object end**

**Since** GTK 2.4

*class type chooser =* **object end**

**Since** GTK 2.4

*class chooser\_widget\_signals :* **\[\> \`filechooser \| \`gtk \| \`widget \] Gtk.obj -\> object end**

**Since** GTK 2.4

*class chooser\_widget :* **\[\> \`filechooser \| \`gtk \| \`widget \] Gtk.obj -\> object end**

**Since** GTK 2.4

*val chooser\_widget* :  **action:GtkEnums.file\_chooser\_action -\>** **?backend:string -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> chooser\_widget**

**Since** GTK 2.4

*class chooser\_button\_signals :* **\[\> \`container \| \`filechooser \| \`gtk \| \`widget \] Gtk.obj -\> object end**

**Since** GTK 2.6

*class chooser\_button :* **\[\> Gtk.file\_chooser\_button \] Gtk.obj -\> object end**

**Since** GTK 2.6

*val chooser\_button* :  **action:GtkEnums.file\_chooser\_action -\>** **?title:string -\>** **?width\_chars:int -\>** **?backend:string -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> chooser\_button**
