Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > fe6e02720319b05688a94261a5d8b124 > files > 351

gtkmm2.4-doc-2.24.4-2.mga4.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gtk::FileChooserButton Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
      <li class="navelem"><a class="el" href="classGtk_1_1FileChooserButton.html">FileChooserButton</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::FileChooserButton Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::FileChooserButton" --><!-- doxytag: inherits="Gtk::HBox,Gtk::FileChooser" -->
<p>A button to launch a file chooser dialog. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::FileChooserButton:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1FileChooserButton__inherit__graph.png" border="0" usemap="#Gtk_1_1FileChooserButton_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1FileChooserButton_inherit__map" id="Gtk_1_1FileChooserButton_inherit__map">
<area shape="rect" id="node2" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="155,547,240,576"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="148,469,223,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="121,392,236,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="113,315,207,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="5,237,99,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="63,160,156,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="124,83,249,112"/><area shape="rect" id="node22" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="209,160,319,189"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="129,5,244,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="123,237,256,267"/><area shape="rect" id="node20" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets." alt="" coords="231,315,356,344"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::FileChooserButton:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1FileChooserButton__coll__graph.png" border="0" usemap="#Gtk_1_1FileChooserButton_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1FileChooserButton_coll__map" id="Gtk_1_1FileChooserButton_coll__map">
<area shape="rect" id="node2" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="155,547,240,576"/><area shape="rect" id="node4" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="148,469,223,499"/><area shape="rect" id="node6" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="121,392,236,421"/><area shape="rect" id="node8" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="113,315,207,344"/><area shape="rect" id="node10" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="5,237,99,267"/><area shape="rect" id="node12" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="63,160,156,189"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="124,83,249,112"/><area shape="rect" id="node22" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="209,160,319,189"/><area shape="rect" id="node16" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="129,5,244,35"/><area shape="rect" id="node18" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="123,237,256,267"/><area shape="rect" id="node20" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets." alt="" coords="231,315,356,344"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1FileChooserButton-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a2c68ac3c0392c0710fc4bdb7725c99a4">~FileChooserButton</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkFileChooserButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#aaf5932fe7ee1cd32d8addba40c503640">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#aaf5932fe7ee1cd32d8addba40c503640"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkFileChooserButton*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a1034a135ce8baf1da4a2c466189af990">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a1034a135ce8baf1da4a2c466189af990"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#afd7480a2731641ce37abb939775d6238">FileChooserButton</a> (<a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a> action=FILE_CHOOSER_ACTION_OPEN)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new file-selecting button widget with the default title. <a href="#afd7480a2731641ce37abb939775d6238"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a89b1936bceedbe5656007077ce715b40">FileChooserButton</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; title, <a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a> action=FILE_CHOOSER_ACTION_OPEN)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new file-selecting button widget. <a href="#a89b1936bceedbe5656007077ce715b40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a14adbe1ae7a6ba37af6959649f9bb030">FileChooserButton</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; title, <a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a> action, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; backend)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new file-selecting button widget using backend. <a href="#a14adbe1ae7a6ba37af6959649f9bb030"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a69b4b54a614b7312cec8c80a039f0536">FileChooserButton</a> (<a class="el" href="classGtk_1_1FileChooserDialog.html">FileChooserDialog</a>&amp; dialog)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new file-selecting button widget which uses dialog as its file-picking window. <a href="#a69b4b54a614b7312cec8c80a039f0536"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a21a0995ec1e52fad200a726771e711de">get_title</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the title of the browse dialog used by <em>button</em>. <a href="#a21a0995ec1e52fad200a726771e711de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#ae36fe088c746518bc1b08fcf39f18133">set_title</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; title)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the <em>title</em> of the browse dialog used by <em>button</em>. <a href="#ae36fe088c746518bc1b08fcf39f18133"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a1a500fa7a344b984e0b4e996a8304627">get_width_chars</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the width in characters of the <em>button</em> widget's entry and/or label. <a href="#a1a500fa7a344b984e0b4e996a8304627"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a918ae15bcb96d03765084d279a970c56">set_width_chars</a> (int n_chars)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the width (in characters) that <em>button</em> will use to <em>n_chars</em>. <a href="#a918ae15bcb96d03765084d279a970c56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a85e16d51083b0f8f79498fec19022a0d">get_focus_on_click</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the button grabs focus when it is clicked with the mouse. <a href="#a85e16d51083b0f8f79498fec19022a0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a51e5660524652f6da60e29c5c9d9ffae">set_focus_on_click</a> (gboolean focus_on_click=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the button will grab focus when it is clicked with the mouse. <a href="#a51e5660524652f6da60e29c5c9d9ffae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a16149ec54325c971d2525de8b435999a">signal_file_set</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#ad251f019b07fc3456bdd96aaf3fb8d0c">property_focus_on_click</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the button grabs focus when it is clicked with the mouse. <a href="#ad251f019b07fc3456bdd96aaf3fb8d0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a9c99fb9ab1fdca112c728ce67529a8ff">property_focus_on_click</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the button grabs focus when it is clicked with the mouse. <a href="#a9c99fb9ab1fdca112c728ce67529a8ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#aff9d0bc4031cd79272b6d83d5ef30c91">property_title</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The title of the file chooser dialog. <a href="#aff9d0bc4031cd79272b6d83d5ef30c91"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a34cb061e63002c26436cb16b7aaa9540">property_title</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The title of the file chooser dialog. <a href="#a34cb061e63002c26436cb16b7aaa9540"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#ae875e9c906a106b0e5b8b3ebe7a85839">property_width_chars</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The desired width of the button widget, in characters. <a href="#ae875e9c906a106b0e5b8b3ebe7a85839"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a083d5fe6a22315beae20bb4a72139b9a">property_width_chars</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The desired width of the button widget, in characters. <a href="#a083d5fe6a22315beae20bb4a72139b9a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1FileChooserButton.html">Gtk::FileChooserButton</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileChooserButton.html#a7d39ab3e179b4e4b1db974ac319fd985">wrap</a> (GtkFileChooserButton* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a7d39ab3e179b4e4b1db974ac319fd985"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A button to launch a file chooser dialog. </p>
<p>This widget lets the user select a file. It implements the <a class="el" href="classGtk_1_1FileChooser.html" title="Gtk::FileChooser is an interface that can be implemented by file selection widgets.">FileChooser</a> interface. Visually, it is a file name with a button to bring up a <a class="el" href="classGtk_1_1FileChooserDialog.html" title="Convenient file chooser window.">FileChooserDialog</a>. The user can then use that dialog to change the file associated with that button. This widget does not support setting the "select_multiple" property to true.</p>
<p>The <a class="el" href="classGtk_1_1FileChooserButton.html" title="A button to launch a file chooser dialog.">FileChooserButton</a> supports the FileChooserActions FILE_CHOOSER_ACTION_OPEN and FILE_CHOOSER_ACTION_SELECT_FOLDER.</p>
<p>The <a class="el" href="classGtk_1_1FileChooserButton.html" title="A button to launch a file chooser dialog.">FileChooserButton</a> will ellipsize the label, and will thus request little horizontal space. To give the button more space, you should call <a class="el" href="classGtk_1_1Widget.html#a98944a56dd747042b0718d177082b944" title="This function is typically used when implementing a Gtk::Container subclass.">size_request()</a>, <a class="el" href="classGtk_1_1FileChooserButton.html#a918ae15bcb96d03765084d279a970c56" title="Sets the width (in characters) that button will use to n_chars.">set_width_chars()</a>, or pack the button in such a way that other interface elements give space to the widget.</p>
<p>The <a class="el" href="classGtk_1_1FileChooserButton.html" title="A button to launch a file chooser dialog.">FileChooserButton</a> widget looks like this: </p>
<div align="center">
<img src="filechooserbutton1.png" alt="filechooserbutton1.png"/>
</div>
 </div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2c68ac3c0392c0710fc4bdb7725c99a4"></a><!-- doxytag: member="Gtk::FileChooserButton::~FileChooserButton" ref="a2c68ac3c0392c0710fc4bdb7725c99a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::FileChooserButton::~FileChooserButton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afd7480a2731641ce37abb939775d6238"></a><!-- doxytag: member="Gtk::FileChooserButton::FileChooserButton" ref="afd7480a2731641ce37abb939775d6238" args="(FileChooserAction action=FILE_CHOOSER_ACTION_OPEN)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::FileChooserButton::FileChooserButton </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a>&#160;</td>
          <td class="paramname"><em>action</em> = <code>FILE_CHOOSER_ACTION_OPEN</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new file-selecting button widget with the default title. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>The title of the browse dialog. </td></tr>
    <tr><td class="paramname">action</td><td>The open mode for the widget. </td></tr>
    <tr><td class="paramname">backend</td><td>The name of the Gtk::FileSystem backend to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a89b1936bceedbe5656007077ce715b40"></a><!-- doxytag: member="Gtk::FileChooserButton::FileChooserButton" ref="a89b1936bceedbe5656007077ce715b40" args="(const Glib::ustring &amp;title, FileChooserAction action=FILE_CHOOSER_ACTION_OPEN)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::FileChooserButton::FileChooserButton </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a>&#160;</td>
          <td class="paramname"><em>action</em> = <code>FILE_CHOOSER_ACTION_OPEN</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new file-selecting button widget. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>The title of the browse dialog. </td></tr>
    <tr><td class="paramname">action</td><td>The open mode for the widget. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a14adbe1ae7a6ba37af6959649f9bb030"></a><!-- doxytag: member="Gtk::FileChooserButton::FileChooserButton" ref="a14adbe1ae7a6ba37af6959649f9bb030" args="(const Glib::ustring &amp;title, FileChooserAction action, const Glib::ustring &amp;backend)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::FileChooserButton::FileChooserButton </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga0d6076e7637ec501f26296e65fee2212">FileChooserAction</a>&#160;</td>
          <td class="paramname"><em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>backend</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new file-selecting button widget using backend. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>The title of the browse dialog. </td></tr>
    <tr><td class="paramname">action</td><td>The open mode for the widget. </td></tr>
    <tr><td class="paramname">backend</td><td>The name of the Gtk::FileSystem backend to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a69b4b54a614b7312cec8c80a039f0536"></a><!-- doxytag: member="Gtk::FileChooserButton::FileChooserButton" ref="a69b4b54a614b7312cec8c80a039f0536" args="(FileChooserDialog &amp;dialog)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::FileChooserButton::FileChooserButton </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1FileChooserDialog.html">FileChooserDialog</a>&amp;&#160;</td>
          <td class="paramname"><em>dialog</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new file-selecting button widget which uses dialog as its file-picking window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dialog</td><td>The dialog to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a85e16d51083b0f8f79498fec19022a0d"></a><!-- doxytag: member="Gtk::FileChooserButton::get_focus_on_click" ref="a85e16d51083b0f8f79498fec19022a0d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::FileChooserButton::get_focus_on_click </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the button grabs focus when it is clicked with the mouse. </p>
<p>See <a class="el" href="classGtk_1_1FileChooserButton.html#a51e5660524652f6da60e29c5c9d9ffae" title="Sets whether the button will grab focus when it is clicked with the mouse.">set_focus_on_click()</a>.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000054">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the button grabs focus when it is clicked with the mouse. </dd></dl>

</div>
</div>
<a class="anchor" id="a21a0995ec1e52fad200a726771e711de"></a><!-- doxytag: member="Gtk::FileChooserButton::get_title" ref="a21a0995ec1e52fad200a726771e711de" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::FileChooserButton::get_title </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the title of the browse dialog used by <em>button</em>. </p>
<p>The returned value should not be modified or freed.</p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000077">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the browse dialog's title. </dd></dl>

</div>
</div>
<a class="anchor" id="a1a500fa7a344b984e0b4e996a8304627"></a><!-- doxytag: member="Gtk::FileChooserButton::get_width_chars" ref="a1a500fa7a344b984e0b4e996a8304627" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gtk::FileChooserButton::get_width_chars </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the width in characters of the <em>button</em> widget's entry and/or label. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000079">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An integer width (in characters) that the button will use to size itself. </dd></dl>

</div>
</div>
<a class="anchor" id="a1034a135ce8baf1da4a2c466189af990"></a><!-- doxytag: member="Gtk::FileChooserButton::gobj" ref="a1034a135ce8baf1da4a2c466189af990" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkFileChooserButton* Gtk::FileChooserButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1HBox.html#a200e7083acf10d6075633a5bb2eef9d0">Gtk::HBox</a>.</p>

</div>
</div>
<a class="anchor" id="aaf5932fe7ee1cd32d8addba40c503640"></a><!-- doxytag: member="Gtk::FileChooserButton::gobj" ref="aaf5932fe7ee1cd32d8addba40c503640" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkFileChooserButton* Gtk::FileChooserButton::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1HBox.html#a276c36213ef878a34ab3a16a6f2dc94b">Gtk::HBox</a>.</p>

</div>
</div>
<a class="anchor" id="ad251f019b07fc3456bdd96aaf3fb8d0c"></a><!-- doxytag: member="Gtk::FileChooserButton::property_focus_on_click" ref="ad251f019b07fc3456bdd96aaf3fb8d0c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;bool&gt; Gtk::FileChooserButton::property_focus_on_click </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the button grabs focus when it is clicked with the mouse. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a9c99fb9ab1fdca112c728ce67529a8ff"></a><!-- doxytag: member="Gtk::FileChooserButton::property_focus_on_click" ref="a9c99fb9ab1fdca112c728ce67529a8ff" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gtk::FileChooserButton::property_focus_on_click </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether the button grabs focus when it is clicked with the mouse. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a34cb061e63002c26436cb16b7aaa9540"></a><!-- doxytag: member="Gtk::FileChooserButton::property_title" ref="a34cb061e63002c26436cb16b7aaa9540" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::FileChooserButton::property_title </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The title of the file chooser dialog. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aff9d0bc4031cd79272b6d83d5ef30c91"></a><!-- doxytag: member="Gtk::FileChooserButton::property_title" ref="aff9d0bc4031cd79272b6d83d5ef30c91" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::FileChooserButton::property_title </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The title of the file chooser dialog. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ae875e9c906a106b0e5b8b3ebe7a85839"></a><!-- doxytag: member="Gtk::FileChooserButton::property_width_chars" ref="ae875e9c906a106b0e5b8b3ebe7a85839" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::FileChooserButton::property_width_chars </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The desired width of the button widget, in characters. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a083d5fe6a22315beae20bb4a72139b9a"></a><!-- doxytag: member="Gtk::FileChooserButton::property_width_chars" ref="a083d5fe6a22315beae20bb4a72139b9a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::FileChooserButton::property_width_chars </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The desired width of the button widget, in characters. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a51e5660524652f6da60e29c5c9d9ffae"></a><!-- doxytag: member="Gtk::FileChooserButton::set_focus_on_click" ref="a51e5660524652f6da60e29c5c9d9ffae" args="(gboolean focus_on_click=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileChooserButton::set_focus_on_click </td>
          <td>(</td>
          <td class="paramtype">gboolean&#160;</td>
          <td class="paramname"><em>focus_on_click</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the button will grab focus when it is clicked with the mouse. </p>
<p>Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application.</p>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000055">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">focus_on_click</td><td>Whether the button grabs focus when clicked with the mouse. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae36fe088c746518bc1b08fcf39f18133"></a><!-- doxytag: member="Gtk::FileChooserButton::set_title" ref="ae36fe088c746518bc1b08fcf39f18133" args="(const Glib::ustring &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileChooserButton::set_title </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Modifies the <em>title</em> of the browse dialog used by <em>button</em>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000078">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>The new browse dialog title. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a918ae15bcb96d03765084d279a970c56"></a><!-- doxytag: member="Gtk::FileChooserButton::set_width_chars" ref="a918ae15bcb96d03765084d279a970c56" args="(int n_chars)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::FileChooserButton::set_width_chars </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n_chars</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the width (in characters) that <em>button</em> will use to <em>n_chars</em>. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000080">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n_chars</td><td>The new width, in characters. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a16149ec54325c971d2525de8b435999a"></a><!-- doxytag: member="Gtk::FileChooserButton::signal_file_set" ref="a16149ec54325c971d2525de8b435999a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gtk::FileChooserButton::signal_file_set </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_file_set()</code> </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a7d39ab3e179b4e4b1db974ac319fd985"></a><!-- doxytag: member="Gtk::FileChooserButton::wrap" ref="a7d39ab3e179b4e4b1db974ac319fd985" args="(GtkFileChooserButton *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1FileChooserButton.html">Gtk::FileChooserButton</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkFileChooserButton *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/filechooserbutton.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>