<?xml version="1.0"?>
<page id="GimpUi.prop_file_chooser_button_new_with_dialog"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gtk.Widget</api:type>
      </api:returns>
      <api:name>gimp_prop_file_chooser_button_new_with_dialog</api:name>
      <api:arg>
        <api:type>GObject.Object</api:type>
        <api:name>config</api:name>
      </api:arg>
      <api:arg>
        <api:type>String</api:type>
        <api:name>property_name</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gtk.Widget</api:type>
        <api:name>dialog</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.prop_file_chooser_button_new_with_dialog</title>
  <synopsis><code mime="text/x-gjs">
function prop_file_chooser_button_new_with_dialog(config: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>, property_name: String, dialog: <link href="../Gtk-3.0/Gtk.Widget.html">Gtk.Widget</link>): <link href="../Gtk-3.0/Gtk.Widget.html">Gtk.Widget</link> {
    // Gjs wrapper for gimp_prop_file_chooser_button_new_with_dialog()
}
  </code></synopsis>
  <p>Creates a <link href="../Gtk-3.0/Gtk.FileChooserButton.html">Gtk.FileChooserButton</link> to edit the specified path property.</p>  <p>The button uses <code>dialog</code> as it's file-picking window. Note that <code>dialog</code>
must be a <link href="../Gtk-3.0/Gtk.FileChooserDialog.html">Gtk.FileChooserDialog</link> (or subclass) and must not have
%GTK_DIALOG_DESTROY_WITH_PARENT set.</p>  <p>Note that <link href="../Gtk-3.0/Gtk.FileChooserButton.html">Gtk.FileChooserButton</link> implements the <link href="../Gtk-3.0/Gtk.FileChooser.html">Gtk.FileChooser</link>
interface; you can use the <link href="../Gtk-3.0/Gtk.FileChooser.html">Gtk.FileChooser</link> API with it.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>config</code></title>
  <p>object to which property is attached.</p>
</item>
<item>
<title><code>property_name</code></title>
  <p>name of path property.</p>
</item>
<item>
<title><code>dialog</code></title>
  <p>the <link href="../Gtk-3.0/Gtk.FileChooserDialog.html">Gtk.FileChooserDialog</link> widget to use.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>A new <link href="../Gtk-3.0/Gtk.FileChooserButton.html">Gtk.FileChooserButton</link>.</p>
</item>
</terms>

</page>
