Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > f37f2c0b149d5391818dc5157943cda0 > files > 200

gnome-chemistry-utils-devel-0.10.8-3mdv2010.0.i586.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>The Gnome Chemistry Utils: gcu::FileChooser 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</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>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacegcu.html">gcu</a>::<a class="el" href="classgcu_1_1FileChooser.html">FileChooser</a>
  </div>
</div>
<div class="contents">
<h1>gcu::FileChooser Class Reference</h1><!-- doxytag: class="gcu::FileChooser" -->
<p><code>#include &lt;<a class="el" href="filechooser_8h_source.html">gcu/filechooser.h</a>&gt;</code></p>

<p><a href="classgcu_1_1FileChooser-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1FileChooser.html#a578ecf72d6322c5e840aa7b1d34ce55a">FileChooser</a> (<a class="el" href="classgcu_1_1Application.html">Application</a> *App, bool Save, std::list&lt; std::string &gt; mime_types, <a class="el" href="classgcu_1_1Document.html">Document</a> *pDoc=NULL, char const *title=NULL, GtkWidget *extra_widget=NULL)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class is used each time a file name must be choosen. It embeds a GtkFileChooserDialog window. </p>

<p>Definition at line <a class="el" href="filechooser_8h_source.html#l00044">44</a> of file <a class="el" href="filechooser_8h_source.html">filechooser.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a578ecf72d6322c5e840aa7b1d34ce55a"></a><!-- doxytag: member="gcu::FileChooser::FileChooser" ref="a578ecf72d6322c5e840aa7b1d34ce55a" args="(Application *App, bool Save, std::list&lt; std::string &gt; mime_types, Document *pDoc=NULL, char const *title=NULL, GtkWidget *extra_widget=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::FileChooser::FileChooser </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Application.html">Application</a> *&nbsp;</td>
          <td class="paramname"> <em>App</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>Save</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; std::string &gt;&nbsp;</td>
          <td class="paramname"> <em>mime_types</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Document.html">Document</a> *&nbsp;</td>
          <td class="paramname"> <em>pDoc</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>title</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkWidget *&nbsp;</td>
          <td class="paramname"> <em>extra_widget</em> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>App</em>&nbsp;</td><td>the <a class="el" href="classgcu_1_1Application.html">Application</a> instance owning the dialog. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Save</em>&nbsp;</td><td>tells if the requested file is to be saved or loaded. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_types</em>&nbsp;</td><td>a std::list of supported mime types. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pDoc</em>&nbsp;</td><td>the document to save, the parameter is optional when loading. Default value is NULL. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>an optional title for the dialog box. Default value is NULL. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>extra_widget</em>&nbsp;</td><td>an optional widget to add to the GtkFileChooserDialog window. Default value is NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>The constructor shows the GtkFileChooserDialog window, retrieve it's response and calls <a class="el" href="classgcu_1_1Application.html#a25541e4e6012b980bc6992e7b2b30f93">Application::FileProcess</a> if needed. The dialog is modal (nothing else can be done while it is opened). </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="filechooser_8h_source.html">filechooser.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:55 2009 for The Gnome Chemistry Utils by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>