Sophie

Sophie

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

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: gcp::Target 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="namespacegcp.html">gcp</a>::<a class="el" href="classgcp_1_1Target.html">Target</a>
  </div>
</div>
<div class="contents">
<h1>gcp::Target Class Reference</h1><!-- doxytag: class="gcp::Target" --><!-- doxytag: inherits="gcu::Window" -->
<p><code>#include &lt;<a class="el" href="target_8h_source.html">target.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gcp::Target:</div>
<div class="dynsection">
 <div class="center">
  <img src="classgcp_1_1Target.gif" usemap="#gcp::Target_map" alt=""/>
  <map id="gcp::Target_map" name="gcp::Target_map">
<area href="classgcu_1_1Window.html" alt="gcu::Window" shape="rect" coords="0,0,83,24"/>
<area href="classgcp_1_1Window.html" alt="gcp::Window" shape="rect" coords="0,112,83,136"/>
</map>
 </div>
</div>

<p><a href="classgcp_1_1Target-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="classgcp_1_1Target.html#a148801fa421fd4a80ebb3a2e278d70c1">Target</a> (<a class="el" href="classgcp_1_1Application.html">Application</a> *App)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a64f5af031a02585c3d9546e50d03262a">~Target</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#ac30a8a2f183e6e89dc7d89e0a54a8850">SetWindow</a> (GtkWindow *window)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a076b8ef98ce245ef8c24d22176d86e10">Close</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Application.html">Application</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a27c89b8a81e9739fcedfbbcc39144817">GetApplication</a> (void)</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Application.html">Application</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a23e211fe57d46435fdf1e61876845421">m_Application</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Document.html">Document</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#ac3626f593042e1c36c24e2a505ac60a6">m_Document</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The base class for windows able to edit GChemPaint files. When one of these windows is active, the tools box is displayed on the same desktop. <a class="el" href="classgcp_1_1Window.html">gcp::Window</a> is a derived class. Another one is gcpResidueDialog implemented in the residue plugin (but not documented like everything implemented in plugins). </p>

<p>Definition at line <a class="el" href="target_8h_source.html#l00045">45</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a148801fa421fd4a80ebb3a2e278d70c1"></a><!-- doxytag: member="gcp::Target::Target" ref="a148801fa421fd4a80ebb3a2e278d70c1" args="(Application *App)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Target::Target </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Application.html">Application</a> *&nbsp;</td>
          <td class="paramname"> <em>App</em></td>
          <td>&nbsp;)&nbsp;</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 application owning the target.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a target for the application. </p>

</div>
</div>
<a class="anchor" id="a64f5af031a02585c3d9546e50d03262a"></a><!-- doxytag: member="gcp::Target::~Target" ref="a64f5af031a02585c3d9546e50d03262a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gcp::Target::~Target </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a076b8ef98ce245ef8c24d22176d86e10"></a><!-- doxytag: member="gcp::Target::Close" ref="a076b8ef98ce245ef8c24d22176d86e10" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool gcp::Target::Close </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>virtual method called when the application ends to ensure everything is correctly closed. This is a pure virtual class, so it must be overloaded. </p>

<p>Implemented in <a class="el" href="classgcp_1_1Window.html#ad6f0e3476234dde80dad56d4acfb0948">gcp::Window</a>.</p>

</div>
</div>
<a class="anchor" id="a27c89b8a81e9739fcedfbbcc39144817"></a><!-- doxytag: member="gcp::Target::GetApplication" ref="a27c89b8a81e9739fcedfbbcc39144817" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Target::GetApplication </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="el" href="classgcp_1_1Application.html" title="GChemPaint application base class.">gcp::Application</a> owning this target.</dd>
<dd>
the <a class="el" href="classgcp_1_1Document.html">gcp::Document</a> displayed in this target window. </dd></dl>

<p>Definition at line <a class="el" href="target_8h_source.html#l00077">77</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac30a8a2f183e6e89dc7d89e0a54a8850"></a><!-- doxytag: member="gcp::Target::SetWindow" ref="ac30a8a2f183e6e89dc7d89e0a54a8850" args="(GtkWindow *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Target::SetWindow </td>
          <td>(</td>
          <td class="paramtype">GtkWindow *&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</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>window</em>&nbsp;</td><td>a GtkWindow.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets <em>window</em> as the GtkWindow for this target. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a23e211fe57d46435fdf1e61876845421"></a><!-- doxytag: member="gcp::Target::m_Application" ref="a23e211fe57d46435fdf1e61876845421" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Target.html#a23e211fe57d46435fdf1e61876845421">gcp::Target::m_Application</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <a class="el" href="classgcp_1_1Application.html" title="GChemPaint application base class.">gcp::Application</a> owning this target. </p>

<p>Definition at line <a class="el" href="target_8h_source.html#l00077">77</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac3626f593042e1c36c24e2a505ac60a6"></a><!-- doxytag: member="gcp::Target::m_Document" ref="ac3626f593042e1c36c24e2a505ac60a6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Target.html#ac3626f593042e1c36c24e2a505ac60a6">gcp::Target::m_Document</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <a class="el" href="classgcp_1_1Document.html">gcp::Document</a> displayed in this target window. </p>

<p>Definition at line <a class="el" href="target_8h_source.html#l00084">84</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="target_8h_source.html">target.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:54 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>