<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>The Gnome Chemistry Utils: gcp::Target Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">The Gnome Chemistry Utils  <span id="projectnumber">0.14.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main 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> </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="hierarchy.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="namespacegcp.html">gcp</a></li><li class="navelem"><a class="el" href="classgcp_1_1Target.html">Target</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="classgcp_1_1Target-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">gcp::Target Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="target_8h_source.html">target.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gcp::Target:</div> <div class="dyncontent"> <div class="center"> <img src="classgcp_1_1Target.png" usemap="#gcp::Target_map" alt=""/> <map id="gcp::Target_map" name="gcp::Target_map"> <area href="classgcp_1_1Window.html" alt="gcp::Window" shape="rect" coords="0,56,83,80"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a148801fa421fd4a80ebb3a2e278d70c1"><td class="memItemLeft" align="right" valign="top"> </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 class="memitem:a64f5af031a02585c3d9546e50d03262a"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a64f5af031a02585c3d9546e50d03262a">~Target</a> ()</td></tr> <tr class="memitem:ac30a8a2f183e6e89dc7d89e0a54a8850"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#ac30a8a2f183e6e89dc7d89e0a54a8850">SetWindow</a> (GtkWindow *window)</td></tr> <tr class="memitem:a076b8ef98ce245ef8c24d22176d86e10"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a076b8ef98ce245ef8c24d22176d86e10">Close</a> ()=0</td></tr> <tr class="memitem:a27c89b8a81e9739fcedfbbcc39144817"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Application.html">Application</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a27c89b8a81e9739fcedfbbcc39144817">GetApplication</a> (void)</td></tr> <tr class="inherit_header pub_methods_classgcugtk_1_1Window"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcugtk_1_1Window')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgcugtk_1_1Window.html">gcugtk::Window</a></td></tr> <tr class="memitem:ab02e345db178428fa5a05ba7e76b98f5 inherit pub_methods_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><b>Window</b> ()</td></tr> <tr class="memitem:abe6a996529c197e1d14ffd72928d832d inherit pub_methods_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b>~Window</b> ()</td></tr> <tr class="memitem:ae36f02817e11cbf02975b1be13586529 inherit pub_methods_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>SetTitle</b> (char const *title)</td></tr> <tr class="memitem:a633198efb19bb0dde095a20b2abd860d inherit pub_methods_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top">GdkScreen * </td><td class="memItemRight" valign="bottom"><b>GetScreen</b> ()</td></tr> <tr class="memitem:a167ec6bc41208c703b1e2d0afa89ae6d inherit pub_methods_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top">GtkWindow * </td><td class="memItemRight" valign="bottom"><b>GetWindow</b> (void)</td></tr> <tr class="inherit_header pub_methods_classgcu_1_1Window"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcu_1_1Window')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgcu_1_1Window.html">gcu::Window</a></td></tr> <tr class="memitem:a103f1504b2c6d457f5be303a02012c57 inherit pub_methods_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a103f1504b2c6d457f5be303a02012c57">Window</a> ()</td></tr> <tr class="memitem:a1a2f39872d6ef5c0f7a7c947f55503fb inherit pub_methods_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a1a2f39872d6ef5c0f7a7c947f55503fb">~Window</a> ()</td></tr> <tr class="memitem:a7f5384a9bb88e7b0666fee33d6fad9c5 inherit pub_methods_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a7f5384a9bb88e7b0666fee33d6fad9c5">Destroy</a> ()</td></tr> <tr class="memitem:a3915acc97424b39836b43847a099c235 inherit pub_methods_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a3915acc97424b39836b43847a099c235">Show</a> ()</td></tr> <tr class="memitem:a256b2538a18e926affa1d13359cae903 inherit pub_methods_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a256b2538a18e926affa1d13359cae903">ActivateActionWidget</a> (char const *path, bool activate)</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a23e211fe57d46435fdf1e61876845421"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Application.html">Application</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#a23e211fe57d46435fdf1e61876845421">m_Application</a></td></tr> <tr class="memitem:ac3626f593042e1c36c24e2a505ac60a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Document.html">Document</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Target.html#ac3626f593042e1c36c24e2a505ac60a6">m_Document</a></td></tr> <tr class="inherit_header pro_attribs_classgcugtk_1_1Window"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgcugtk_1_1Window')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classgcugtk_1_1Window.html">gcugtk::Window</a></td></tr> <tr class="memitem:a8f0719fa81b85f291d5b8b6517864d41 inherit pro_attribs_classgcugtk_1_1Window"><td class="memItemLeft" align="right" valign="top">GtkWindow * </td><td class="memItemRight" valign="bottom"><b>m_Window</b></td></tr> <tr class="inherit_header pro_attribs_classgcu_1_1Window"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgcu_1_1Window')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classgcu_1_1Window.html">gcu::Window</a></td></tr> <tr class="memitem:a9b3b037f13fb05e7d79288d2ee554fa0 inherit pro_attribs_classgcu_1_1Window"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1UIManager.html">UIManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Window.html#a9b3b037f13fb05e7d79288d2ee554fa0">m_UIManager</a></td></tr> </table> <a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><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> </div><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a148801fa421fd4a80ebb3a2e278d70c1"></a> <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> * </td> <td class="paramname"><em>App</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">App</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> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual gcp::Target::~Target </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The destructor. </p> </div> </div> <h2>Member Function Documentation</h2> <a class="anchor" id="a076b8ef98ce245ef8c24d22176d86e10"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool gcp::Target::Close </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </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> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">gcp::Target::GetApplication </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</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#l00081">81</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p> </div> </div> <a class="anchor" id="ac30a8a2f183e6e89dc7d89e0a54a8850"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::Target::SetWindow </td> <td>(</td> <td class="paramtype">GtkWindow * </td> <td class="paramname"><em>window</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">window</td><td>a GtkWindow.</td></tr> </table> </dd> </dl> <p>Sets <em>window</em> as the GtkWindow for this target. </p> </div> </div> <h2>Member Data Documentation</h2> <a class="anchor" id="a23e211fe57d46435fdf1e61876845421"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">gcp::Target::m_Application</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </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#l00081">81</a> of file <a class="el" href="target_8h_source.html">target.h</a>.</p> </div> </div> <a class="anchor" id="ac3626f593042e1c36c24e2a505ac60a6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">gcp::Target::m_Document</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </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#l00088">88</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><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Mar 14 2013 17:34:30 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>