<!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::FileSelection 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 <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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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_1FileSelection.html">FileSelection</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::FileSelection Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::FileSelection" --><!-- doxytag: inherits="Gtk::Dialog" --> <p>Prompt the user for a file or directory name. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::FileSelection:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1FileSelection__inherit__graph.png" border="0" usemap="#Gtk_1_1FileSelection_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1FileSelection_inherit__map" id="Gtk_1_1FileSelection_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1Dialog.html" title="Create popup windows." alt="" coords="91,624,181,653"/><area shape="rect" id="node4" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag..." alt="" coords="87,547,185,576"/><area shape="rect" id="node6" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="100,469,172,499"/><area shape="rect" id="node8" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="79,392,193,421"/><area shape="rect" id="node10" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node12" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node16" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node18" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node20" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::FileSelection:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1FileSelection__coll__graph.png" border="0" usemap="#Gtk_1_1FileSelection_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1FileSelection_coll__map" id="Gtk_1_1FileSelection_coll__map"> <area shape="rect" id="node2" href="classGtk_1_1Dialog.html" title="Create popup windows." alt="" coords="235,677,325,707"/><area shape="rect" id="node4" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag..." alt="" coords="231,597,329,627"/><area shape="rect" id="node6" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="144,501,216,531"/><area shape="rect" id="node8" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="113,405,228,435"/><area shape="rect" id="node10" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="124,325,217,355"/><area shape="rect" id="node12" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,245,115,275"/><area shape="rect" id="node14" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,165,115,195"/><area shape="rect" id="node16" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,85,131,115"/><area shape="rect" id="node18" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node20" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,245,272,275"/><area shape="rect" id="node22" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< AccelGroup \>" alt="" coords="252,501,447,531"/><area shape="rect" id="node24" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< T_CppObject \>" alt="" coords="252,405,452,435"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1FileSelection-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#abb96c3d211f28a5b6031c140e699ab83">~FileSelection</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkFileSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a03ebec3a61eaf4ef998efd9a4797a2cf">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a03ebec3a61eaf4ef998efd9a4797a2cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkFileSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ac859d39ad6a48392c7b7ebba019c71be">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#ac859d39ad6a48392c7b7ebba019c71be"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ad4565fd61169c8a6677fdd2ff7515315">FileSelection</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a3573311caeddfb07f76881dab400671d">FileSelection</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& title)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#aca9b24a358c108dea87c40f8cfc8c5be">set_filename</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& filename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a default path for the file requestor. <a href="#aca9b24a358c108dea87c40f8cfc8c5be"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a714a03a8be434db892aec28ba5663d0d">get_filename</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This function returns the selected filename in the GLib file name encoding. <a href="#a714a03a8be434db892aec28ba5663d0d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a61e4695a8df9c97a93d7f98f21aa9604">complete</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& pattern)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a3613d98ab80e604fd52b36f25df9f9ac">show_fileop_buttons</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a06cdb83cbc8f8d621cc49e93e5c57fc7">hide_fileop_buttons</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#aad63f05f9789da596874444c4ddd18bc">get_selections</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of file selections the user has made in the dialog box. <a href="#aad63f05f9789da596874444c4ddd18bc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a2f3bf135163e63251efac22112cf28d5">set_select_multiple</a> (bool select_multiple=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the user is allowed to select multiple files in the file list. <a href="#a2f3bf135163e63251efac22112cf28d5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a9cc8f09193675b1155cd6e52db9e204b">get_select_multiple</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether or not the user is allowed to select multiple files in the file list. <a href="#a9cc8f09193675b1155cd6e52db9e204b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a65b0e7bd7108dfea5dc11de9d46631ec">get_dir_list</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ae278a53b3977e3aa903dfb84e760518f">get_dir_list</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a42504f5017ebc024ba2dc95d71638c00">get_file_list</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#aab9cd54849af919226b2c6d80ac03f89">get_file_list</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a81ecd35e09ba01e7a82ffab88640e58f">get_history_pulldown</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a85eabcb973a949052c84da38be73bd36">get_history_pulldown</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a98c650b5679e83a06f23e4dc1732c058">get_selection_entry</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#af6c2d711bd74b10da4818d53246db50e">get_selection_entry</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Label.html">Label</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a478403f30e8b170728831e55750fb039">get_selection_text</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Label.html">Label</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ac81a0f5ad3a0f57bb43078b24779a962">get_selection_text</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1VBox.html">VBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a4b3e4bcf097f0036e3412e1f900e49a3">get_main_vbox</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1VBox.html">VBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a6773c22f881814cdfda8fbb3184e963d">get_main_vbox</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a4c9039a7f3feb7cd2df13f9ecf1f8abb">get_ok_button</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ad9b02757f84ec08c02988d33c4a5f4d1">get_ok_button</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a49e83264b9066a441b5e63c3ff8f87a9">get_cancel_button</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a95b591d2139d525eb12d287a221a09a7">get_cancel_button</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a8797ebb84e441279ee4d0bfd509f6df0">get_help_button</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a7dd9f17ad404b35be20cc5c32e7756a6">get_help_button</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a6273f439d2a4f33bffd9157f7273a4e6">get_button_area</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ab6769f1124eb925a5628d3b422610b72">get_button_area</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1HBox.html">HBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a3eb51f01b118c49574a7915c3fbeca47">get_action_area</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the action area of <em>dialog</em>. <a href="#a3eb51f01b118c49574a7915c3fbeca47"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1HBox.html">HBox</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ac6569b3ae5884837df55cdd654ca52d3">get_action_area</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the action area of <em>dialog</em>. <a href="#ac6569b3ae5884837df55cdd654ca52d3"></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>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a7457aa932dfa475039cefd8b56dff42d">property_show_fileops</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether buttons for creating/manipulating files should be displayed. <a href="#a7457aa932dfa475039cefd8b56dff42d"></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"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a18eba5bcec512851e857b2198d05660e">property_show_fileops</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether buttons for creating/manipulating files should be displayed. <a href="#a18eba5bcec512851e857b2198d05660e"></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>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a773d20bec9ba0148e58cf196f2c48091">property_filename</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The currently selected filename. <a href="#a773d20bec9ba0148e58cf196f2c48091"></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"/> < <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#adc81004b5ab29de0fdc8e8acbf581746">property_filename</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The currently selected filename. <a href="#adc81004b5ab29de0fdc8e8acbf581746"></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>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a34b107f0f7781eb8eac4f5678ce34de2">property_select_multiple</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether to allow multiple files to be selected. <a href="#a34b107f0f7781eb8eac4f5678ce34de2"></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"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#a57222833ea90643b9a08606f1ae44ce6">property_select_multiple</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether to allow multiple files to be selected. <a href="#a57222833ea90643b9a08606f1ae44ce6"></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_1FileSelection.html">Gtk::FileSelection</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1FileSelection.html#ad722c6db3e000fe54959fd03eb2fb95d">wrap</a> (GtkFileSelection* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </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="#ad722c6db3e000fe54959fd03eb2fb95d"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Prompt the user for a file or directory name. </p> <p><a class="el" href="classGtk_1_1FileSelection.html" title="Prompt the user for a file or directory name.">Gtk::FileSelection</a> should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed.</p> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000044">Deprecated:</a></b></dt><dd>Use the <a class="el" href="classGtk_1_1FileChooserDialog.html" title="Convenient file chooser window.">FileChooserDialog</a> instead. </dd></dl> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="abb96c3d211f28a5b6031c140e699ab83"></a><!-- doxytag: member="Gtk::FileSelection::~FileSelection" ref="abb96c3d211f28a5b6031c140e699ab83" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::FileSelection::~FileSelection </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="ad4565fd61169c8a6677fdd2ff7515315"></a><!-- doxytag: member="Gtk::FileSelection::FileSelection" ref="ad4565fd61169c8a6677fdd2ff7515315" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::FileSelection::FileSelection </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a3573311caeddfb07f76881dab400671d"></a><!-- doxytag: member="Gtk::FileSelection::FileSelection" ref="a3573311caeddfb07f76881dab400671d" args="(const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::FileSelection::FileSelection </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>title</em></td><td>)</td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a61e4695a8df9c97a93d7f98f21aa9604"></a><!-- doxytag: member="Gtk::FileSelection::complete" ref="a61e4695a8df9c97a93d7f98f21aa9604" args="(const Glib::ustring &pattern)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FileSelection::complete </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>pattern</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ac6569b3ae5884837df55cdd654ca52d3"></a><!-- doxytag: member="Gtk::FileSelection::get_action_area" ref="ac6569b3ae5884837df55cdd654ca52d3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1HBox.html">HBox</a>* Gtk::FileSelection::get_action_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the action area of <em>dialog</em>. </p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000051">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The action area. </dd></dl> <p>Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#ae16b393cc1e6b11bab611f8aa5e694fb">Gtk::Dialog</a>.</p> </div> </div> <a class="anchor" id="a3eb51f01b118c49574a7915c3fbeca47"></a><!-- doxytag: member="Gtk::FileSelection::get_action_area" ref="a3eb51f01b118c49574a7915c3fbeca47" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1HBox.html">HBox</a>* Gtk::FileSelection::get_action_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the action area of <em>dialog</em>. </p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000050">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The action area. </dd></dl> <p>Reimplemented from <a class="el" href="classGtk_1_1Dialog.html#ae56668b63a4f134c7135e98b74f2acab">Gtk::Dialog</a>.</p> </div> </div> <a class="anchor" id="a6273f439d2a4f33bffd9157f7273a4e6"></a><!-- doxytag: member="Gtk::FileSelection::get_button_area" ref="a6273f439d2a4f33bffd9157f7273a4e6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a>* Gtk::FileSelection::get_button_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab6769f1124eb925a5628d3b422610b72"></a><!-- doxytag: member="Gtk::FileSelection::get_button_area" ref="ab6769f1124eb925a5628d3b422610b72" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1HButtonBox.html">HButtonBox</a>* Gtk::FileSelection::get_button_area </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a95b591d2139d525eb12d287a221a09a7"></a><!-- doxytag: member="Gtk::FileSelection::get_cancel_button" ref="a95b591d2139d525eb12d287a221a09a7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_cancel_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a49e83264b9066a441b5e63c3ff8f87a9"></a><!-- doxytag: member="Gtk::FileSelection::get_cancel_button" ref="a49e83264b9066a441b5e63c3ff8f87a9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_cancel_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a65b0e7bd7108dfea5dc11de9d46631ec"></a><!-- doxytag: member="Gtk::FileSelection::get_dir_list" ref="a65b0e7bd7108dfea5dc11de9d46631ec" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::FileSelection::get_dir_list </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae278a53b3977e3aa903dfb84e760518f"></a><!-- doxytag: member="Gtk::FileSelection::get_dir_list" ref="ae278a53b3977e3aa903dfb84e760518f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::FileSelection::get_dir_list </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a42504f5017ebc024ba2dc95d71638c00"></a><!-- doxytag: member="Gtk::FileSelection::get_file_list" ref="a42504f5017ebc024ba2dc95d71638c00" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::FileSelection::get_file_list </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aab9cd54849af919226b2c6d80ac03f89"></a><!-- doxytag: member="Gtk::FileSelection::get_file_list" ref="aab9cd54849af919226b2c6d80ac03f89" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1TreeView.html">TreeView</a>* Gtk::FileSelection::get_file_list </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a714a03a8be434db892aec28ba5663d0d"></a><!-- doxytag: member="Gtk::FileSelection::get_filename" ref="a714a03a8be434db892aec28ba5663d0d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gtk::FileSelection::get_filename </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This function returns the selected filename in the GLib file name encoding. </p> <p>To convert to UTF-8, call <a class="elRef" href="../../../glibmm-2.4/reference/html/group__CharsetConv.html#ga6cf95dc00505401594260a360d70c17b">Glib::filename_to_utf8()</a>. The returned string points to a statically allocated buffer and should be copied if you plan to keep it around.</p> <p>If no file is selected then the selected directory path is returned. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Currently-selected filename in the on-disk encoding. </dd></dl> </div> </div> <a class="anchor" id="a8797ebb84e441279ee4d0bfd509f6df0"></a><!-- doxytag: member="Gtk::FileSelection::get_help_button" ref="a8797ebb84e441279ee4d0bfd509f6df0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_help_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a7dd9f17ad404b35be20cc5c32e7756a6"></a><!-- doxytag: member="Gtk::FileSelection::get_help_button" ref="a7dd9f17ad404b35be20cc5c32e7756a6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_help_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a85eabcb973a949052c84da38be73bd36"></a><!-- doxytag: member="Gtk::FileSelection::get_history_pulldown" ref="a85eabcb973a949052c84da38be73bd36" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a>* Gtk::FileSelection::get_history_pulldown </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a81ecd35e09ba01e7a82ffab88640e58f"></a><!-- doxytag: member="Gtk::FileSelection::get_history_pulldown" ref="a81ecd35e09ba01e7a82ffab88640e58f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1OptionMenu.html">OptionMenu</a>* Gtk::FileSelection::get_history_pulldown </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4b3e4bcf097f0036e3412e1f900e49a3"></a><!-- doxytag: member="Gtk::FileSelection::get_main_vbox" ref="a4b3e4bcf097f0036e3412e1f900e49a3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1VBox.html">VBox</a>* Gtk::FileSelection::get_main_vbox </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6773c22f881814cdfda8fbb3184e963d"></a><!-- doxytag: member="Gtk::FileSelection::get_main_vbox" ref="a6773c22f881814cdfda8fbb3184e963d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1VBox.html">VBox</a>* Gtk::FileSelection::get_main_vbox </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4c9039a7f3feb7cd2df13f9ecf1f8abb"></a><!-- doxytag: member="Gtk::FileSelection::get_ok_button" ref="a4c9039a7f3feb7cd2df13f9ecf1f8abb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_ok_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad9b02757f84ec08c02988d33c4a5f4d1"></a><!-- doxytag: member="Gtk::FileSelection::get_ok_button" ref="ad9b02757f84ec08c02988d33c4a5f4d1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Button.html">Button</a>* Gtk::FileSelection::get_ok_button </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a9cc8f09193675b1155cd6e52db9e204b"></a><!-- doxytag: member="Gtk::FileSelection::get_select_multiple" ref="a9cc8f09193675b1155cd6e52db9e204b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::FileSelection::get_select_multiple </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Determines whether or not the user is allowed to select multiple files in the file list. </p> <p>See <a class="el" href="classGtk_1_1FileSelection.html#a2f3bf135163e63251efac22112cf28d5" title="Sets whether the user is allowed to select multiple files in the file list.">set_select_multiple()</a>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the user is allowed to select multiple files in the file list. </dd></dl> </div> </div> <a class="anchor" id="a98c650b5679e83a06f23e4dc1732c058"></a><!-- doxytag: member="Gtk::FileSelection::get_selection_entry" ref="a98c650b5679e83a06f23e4dc1732c058" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FileSelection::get_selection_entry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af6c2d711bd74b10da4818d53246db50e"></a><!-- doxytag: member="Gtk::FileSelection::get_selection_entry" ref="af6c2d711bd74b10da4818d53246db50e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Entry.html">Entry</a>* Gtk::FileSelection::get_selection_entry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a478403f30e8b170728831e55750fb039"></a><!-- doxytag: member="Gtk::FileSelection::get_selection_text" ref="a478403f30e8b170728831e55750fb039" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Label.html">Label</a>* Gtk::FileSelection::get_selection_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ac81a0f5ad3a0f57bb43078b24779a962"></a><!-- doxytag: member="Gtk::FileSelection::get_selection_text" ref="ac81a0f5ad3a0f57bb43078b24779a962" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Label.html">Label</a>* Gtk::FileSelection::get_selection_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aad63f05f9789da596874444c4ddd18bc"></a><!-- doxytag: member="Gtk::FileSelection::get_selections" ref="aad63f05f9789da596874444c4ddd18bc" 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_1ArrayHandle.html">Glib::ArrayHandle</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> Gtk::FileSelection::get_selections </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the list of file selections the user has made in the dialog box. </p> <p>This function is intended for use when the user can select multiple files in the file list.</p> <p>The filenames are in the GLib file name encoding. To convert to UTF-8, call <a class="elRef" href="../../../glibmm-2.4/reference/html/group__CharsetConv.html#ga6cf95dc00505401594260a360d70c17b">Glib::filename_to_utf8()</a> on each string. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <code>0</code>-terminated array of strings. Use Glib::strfreev() to free it. </dd></dl> </div> </div> <a class="anchor" id="ac859d39ad6a48392c7b7ebba019c71be"></a><!-- doxytag: member="Gtk::FileSelection::gobj" ref="ac859d39ad6a48392c7b7ebba019c71be" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkFileSelection* Gtk::FileSelection::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_1Dialog.html#a534ffd24e55400a26aef733a7f588856">Gtk::Dialog</a>.</p> </div> </div> <a class="anchor" id="a03ebec3a61eaf4ef998efd9a4797a2cf"></a><!-- doxytag: member="Gtk::FileSelection::gobj" ref="a03ebec3a61eaf4ef998efd9a4797a2cf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkFileSelection* Gtk::FileSelection::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_1Dialog.html#aa3e8f3bdac15fac61128dc47c22ba4cd">Gtk::Dialog</a>.</p> </div> </div> <a class="anchor" id="a06cdb83cbc8f8d621cc49e93e5c57fc7"></a><!-- doxytag: member="Gtk::FileSelection::hide_fileop_buttons" ref="a06cdb83cbc8f8d621cc49e93e5c57fc7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FileSelection::hide_fileop_buttons </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="adc81004b5ab29de0fdc8e8acbf581746"></a><!-- doxytag: member="Gtk::FileSelection::property_filename" ref="adc81004b5ab29de0fdc8e8acbf581746" 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><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> Gtk::FileSelection::property_filename </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The currently selected filename. </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="a773d20bec9ba0148e58cf196f2c48091"></a><!-- doxytag: member="Gtk::FileSelection::property_filename" ref="a773d20bec9ba0148e58cf196f2c48091" 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><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> Gtk::FileSelection::property_filename </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The currently selected filename. </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="a34b107f0f7781eb8eac4f5678ce34de2"></a><!-- doxytag: member="Gtk::FileSelection::property_select_multiple" ref="a34b107f0f7781eb8eac4f5678ce34de2" 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><bool> Gtk::FileSelection::property_select_multiple </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Whether to allow multiple files to be selected. </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="a57222833ea90643b9a08606f1ae44ce6"></a><!-- doxytag: member="Gtk::FileSelection::property_select_multiple" ref="a57222833ea90643b9a08606f1ae44ce6" 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><bool> Gtk::FileSelection::property_select_multiple </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Whether to allow multiple files to be selected. </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="a7457aa932dfa475039cefd8b56dff42d"></a><!-- doxytag: member="Gtk::FileSelection::property_show_fileops" ref="a7457aa932dfa475039cefd8b56dff42d" 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><bool> Gtk::FileSelection::property_show_fileops </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Whether buttons for creating/manipulating files should be displayed. </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="a18eba5bcec512851e857b2198d05660e"></a><!-- doxytag: member="Gtk::FileSelection::property_show_fileops" ref="a18eba5bcec512851e857b2198d05660e" 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><bool> Gtk::FileSelection::property_show_fileops </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Whether buttons for creating/manipulating files should be displayed. </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="aca9b24a358c108dea87c40f8cfc8c5be"></a><!-- doxytag: member="Gtk::FileSelection::set_filename" ref="aca9b24a358c108dea87c40f8cfc8c5be" args="(const std::string &filename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FileSelection::set_filename </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01202.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>filename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets a default path for the file requestor. </p> <p>If <em>filename</em> includes a directory path, then the requestor will open with that path as its current working directory.</p> <p>This has the consequence that in order to open the requestor with a working directory and an empty filename, <em>filename</em> must have a trailing directory separator.</p> <p>The encoding of <em>filename</em> is preferred GLib file name encoding, which may not be UTF-8. See <a class="elRef" href="../../../glibmm-2.4/reference/html/group__CharsetConv.html#ga2bd94064ad97b43324a7854b62f0835b">Glib::filename_from_utf8()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">filename</td><td>A string to set as the default file name. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2f3bf135163e63251efac22112cf28d5"></a><!-- doxytag: member="Gtk::FileSelection::set_select_multiple" ref="a2f3bf135163e63251efac22112cf28d5" args="(bool select_multiple=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FileSelection::set_select_multiple </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>select_multiple</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets whether the user is allowed to select multiple files in the file list. </p> <p>Use <a class="el" href="classGtk_1_1FileSelection.html#aad63f05f9789da596874444c4ddd18bc" title="Retrieves the list of file selections the user has made in the dialog box.">get_selections()</a> to get the list of selected files. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">select_multiple</td><td>Whether or not the user is allowed to select multiple files in the file list. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a3613d98ab80e604fd52b36f25df9f9ac"></a><!-- doxytag: member="Gtk::FileSelection::show_fileop_buttons" ref="a3613d98ab80e604fd52b36f25df9f9ac" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::FileSelection::show_fileop_buttons </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="ad722c6db3e000fe54959fd03eb2fb95d"></a><!-- doxytag: member="Gtk::FileSelection::wrap" ref="ad722c6db3e000fe54959fd03eb2fb95d" args="(GtkFileSelection *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1FileSelection.html">Gtk::FileSelection</a>* wrap </td> <td>(</td> <td class="paramtype">GtkFileSelection * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </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/fileselection.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>