Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > d2855e9970bf9a8259f08fe181d69f9d > files > 156

gnome-chemistry-utils-devel-0.14.2-1.mga3.x86_64.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>The Gnome Chemistry Utils: gcp::Application 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
   &#160;<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&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.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="namespacegcp.html">gcp</a></li><li class="navelem"><a class="el" href="classgcp_1_1Application.html">Application</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classgcp_1_1Application-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gcp::Application Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>GChemPaint application base class.  
 <a href="classgcp_1_1Application.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gcp::Application:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgcp_1_1Application.png" usemap="#gcp::Application_map" alt=""/>
  <map id="gcp::Application_map" name="gcp::Application_map">
<area href="classgcugtk_1_1Application.html" alt="gcugtk::Application" shape="rect" coords="0,112,118,136"/>
<area href="classgcu_1_1Application.html" alt="gcu::Application" shape="rect" coords="0,56,118,80"/>
<area href="classgcu_1_1DialogOwner.html" alt="gcu::DialogOwner" shape="rect" coords="0,0,118,24"/>
</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:a9265690f1f5384ad499ca9746614598c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a9265690f1f5384ad499ca9746614598c">Application</a> (<a class="el" href="classgcugtk_1_1CmdContextGtk.html">gcugtk::CmdContextGtk</a> *cc=NULL)</td></tr>
<tr class="memitem:a10a25b2eb4539638e7bc341017c3f9c7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a10a25b2eb4539638e7bc341017c3f9c7">~Application</a> ()</td></tr>
<tr class="memitem:a8586168dae9ad906c25b31f3979e5491"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a8586168dae9ad906c25b31f3979e5491">ActivateTool</a> (const std::string &amp;toolname, bool activate)</td></tr>
<tr class="memitem:aaf6e661ddd379f6fe8cb4317508ad8f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aaf6e661ddd379f6fe8cb4317508ad8f7">ActivateWindowsActionWidget</a> (const char *path, bool activate)</td></tr>
<tr class="memitem:a71530cae4d17c5f126090e9300102dff"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a71530cae4d17c5f126090e9300102dff">ClearStatus</a> ()</td></tr>
<tr class="memitem:a9afa7ede3924ffd10e76a417e84c93bf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a9afa7ede3924ffd10e76a417e84c93bf">SetStatusText</a> (const char *text)</td></tr>
<tr class="memitem:ac33138d8f442dadfb2c4dc066d898f5f"><td class="memItemLeft" align="right" valign="top">virtual GtkWindow *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ac33138d8f442dadfb2c4dc066d898f5f">GetWindow</a> ()=0</td></tr>
<tr class="memitem:abc5906e1da58b1fae003e66ed9f1b5b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Tool.html">Tool</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#abc5906e1da58b1fae003e66ed9f1b5b3">GetActiveTool</a> ()</td></tr>
<tr class="memitem:a5656c693727878b303fa89dedb6fe35e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a5656c693727878b303fa89dedb6fe35e">GetActiveDocument</a> ()</td></tr>
<tr class="memitem:a97e2bb10a127365658c67624e2e0c926"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a97e2bb10a127365658c67624e2e0c926">SetActiveDocument</a> (<a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *pDoc)</td></tr>
<tr class="memitem:ab0d4f280a35175065e341d8ab6081110"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Tool.html">Tool</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ab0d4f280a35175065e341d8ab6081110">GetTool</a> (const std::string &amp;name)</td></tr>
<tr class="memitem:a0e297b81717fe0777129ba7ce7ce527b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a0e297b81717fe0777129ba7ce7ce527b">SetTool</a> (const std::string &amp;toolname, <a class="el" href="classgcp_1_1Tool.html">Tool</a> *tool)</td></tr>
<tr class="memitem:ad8540e8bbf84c8ee7f30e7703c98f82b"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ad8540e8bbf84c8ee7f30e7703c98f82b">GetToolItem</a> (const std::string &amp;name)</td></tr>
<tr class="memitem:acb3e5b6a13580d6891ed540a755fd6c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#acb3e5b6a13580d6891ed540a755fd6c9">SetToolItem</a> (const std::string &amp;name, GtkWidget *w)</td></tr>
<tr class="memitem:a82a761d6e3da734ee81532a95e91f4b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a82a761d6e3da734ee81532a95e91f4b5">SetCurZ</a> (int Z)</td></tr>
<tr class="memitem:a41d3c15263bba991ac135bf6350a9673"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a41d3c15263bba991ac135bf6350a9673">GetCurZ</a> ()</td></tr>
<tr class="memitem:a43003e7a84ad8f724fd3541ac96867dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a43003e7a84ad8f724fd3541ac96867dc">OnSaveAs</a> ()</td></tr>
<tr class="memitem:aa43dddebbf9f59f9614c1024334d20db"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aa43dddebbf9f59f9614c1024334d20db">FileProcess</a> (const gchar *filename, const gchar *mime_type, bool bSave, GtkWindow *window, <a class="el" href="classgcu_1_1Document.html">gcu::Document</a> *pDoc=NULL)</td></tr>
<tr class="memitem:a5d9b25abcdf9c285f40d796a1a0a6875"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a5d9b25abcdf9c285f40d796a1a0a6875">SaveGcp</a> (std::string const &amp;filename, <a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *pDoc)</td></tr>
<tr class="memitem:a929730057dcc01fbee9b717d30bd4402"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a929730057dcc01fbee9b717d30bd4402">OpenGcp</a> (std::string const &amp;filename, <a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *pDoc)</td></tr>
<tr class="memitem:a85907c24ea57e88d48a2fcef66489676"><td class="memItemLeft" align="right" valign="top">xmlDocPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a85907c24ea57e88d48a2fcef66489676">GetXmlDoc</a> ()</td></tr>
<tr class="memitem:a9ea6af65cd7ce6f3a41e678b1f7687a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a9ea6af65cd7ce6f3a41e678b1f7687a6">OnSaveAsImage</a> ()</td></tr>
<tr class="memitem:aafbe55f3705c7e82e0e6eed52c908f98"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aafbe55f3705c7e82e0e6eed52c908f98">HaveInChI</a> ()</td></tr>
<tr class="memitem:a82ee8d42088693e6d67d2cd7be464db3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a82ee8d42088693e6d67d2cd7be464db3">GetDocsNumber</a> ()</td></tr>
<tr class="memitem:ab81bca0d7187cfde61a8654b365d2a4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ab81bca0d7187cfde61a8654b365d2a4a">Zoom</a> (double zoom)</td></tr>
<tr class="memitem:a6b05b62c8794d2bbbe4104a9e8302700"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a6b05b62c8794d2bbbe4104a9e8302700">AddActions</a> (GtkRadioActionEntry const *entries, int nb, char const *ui_description, <a class="el" href="structgcp_1_1IconDesc.html">IconDesc</a> const *icons)</td></tr>
<tr class="memitem:abf4208115910eedb573f3634548c7381"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#abf4208115910eedb573f3634548c7381">RegisterToolbar</a> (char const *name, int index)</td></tr>
<tr class="memitem:aea2bc6d352b908f626398c3e68a2e11f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aea2bc6d352b908f626398c3e68a2e11f">OnToolChanged</a> (GtkAction *current)</td></tr>
<tr class="memitem:a528e68e0bb23524ed3ee26bcb36060d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a528e68e0bb23524ed3ee26bcb36060d3">AddTarget</a> (<a class="el" href="classgcp_1_1Target.html">Target</a> *target)</td></tr>
<tr class="memitem:a01679712c2273b7f18fb9b6bdd486b7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a01679712c2273b7f18fb9b6bdd486b7d">DeleteTarget</a> (<a class="el" href="classgcp_1_1Target.html">Target</a> *target)</td></tr>
<tr class="memitem:a9b60549b1b36d277593a82c20e7040ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a9b60549b1b36d277593a82c20e7040ac">NotifyIconification</a> (bool iconified)</td></tr>
<tr class="memitem:ab96f27e84e7cd0f8e169e23bf41b69da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ab96f27e84e7cd0f8e169e23bf41b69da">NotifyFocus</a> (bool has_focus, <a class="el" href="classgcp_1_1Target.html">Target</a> *target=NULL)</td></tr>
<tr class="memitem:a96ba5d31350d2d70da51036143b8010d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a96ba5d31350d2d70da51036143b8010d">CloseAll</a> ()</td></tr>
<tr class="memitem:a3be5fe0bb0c695b7b81634c82b3e30ae"><td class="memItemLeft" align="right" valign="top">std::list&lt; std::string &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a3be5fe0bb0c695b7b81634c82b3e30ae">GetSupportedMimeTypes</a> ()</td></tr>
<tr class="memitem:a226cc27cd662b3565ac80a3e190b23db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a226cc27cd662b3565ac80a3e190b23db">OnConfigChanged</a> (GOConfNode *node, gchar const *name)</td></tr>
<tr class="memitem:a62a47b429924f2d9fa894473dfb85279"><td class="memItemLeft" align="right" valign="top">std::list&lt; std::string &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a62a47b429924f2d9fa894473dfb85279">GetExtensions</a> (std::string &amp;mime_type)</td></tr>
<tr class="memitem:aed3e4656b6423396b8f03273b224e2be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aed3e4656b6423396b8f03273b224e2be">OnThemeNamesChanged</a> ()</td></tr>
<tr class="memitem:a7bbbe91bc1bec1bfa0e616cd8a393358"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a7bbbe91bc1bec1bfa0e616cd8a393358">AddMenuCallback</a> (BuildMenuCb cb)</td></tr>
<tr class="memitem:adf7770568dc2d274e788e91ee906e1b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#adf7770568dc2d274e788e91ee906e1b3">BuildMenu</a> (<a class="el" href="classgcu_1_1UIManager.html">gcu::UIManager</a> *manager)</td></tr>
<tr class="memitem:ae192101a211fe851ffe9cee631dd59de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1Document.html">gcu::Document</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ae192101a211fe851ffe9cee631dd59de">CreateNewDocument</a> ()</td></tr>
<tr class="memitem:af95dbf95fddd5138f88590a45b7339bd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#af95dbf95fddd5138f88590a45b7339bd">OnFileNew</a> (char const *<a class="el" href="classgcp_1_1Theme.html">Theme</a>=NULL)=0</td></tr>
<tr class="memitem:a6cc5263deb5862282471e9adecfa46db"><td class="memItemLeft" align="right" valign="top">GdkCursor *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a6cc5263deb5862282471e9adecfa46db">GetCursor</a> (<a class="el" href="namespacegcp.html#addf891a9e323f7d69e2a3e72853d624f">CursorId</a> id)</td></tr>
<tr class="memitem:abfa4ffa712cb18ec1e64516280371ffa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#abfa4ffa712cb18ec1e64516280371ffa">Have3DSupport</a> ()</td></tr>
<tr class="memitem:a29d9828c2b64a6361d1ac37dac4ba4cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a29d9828c2b64a6361d1ac37dac4ba4cc">AddCanvas</a> (char const *path, <a class="el" href="classgccv_1_1Canvas.html">gccv::Canvas</a> *canvas)</td></tr>
<tr class="memitem:aab5963ea5b5be62b2b20663665e98f71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aab5963ea5b5be62b2b20663665e98f71">ReceiveTargets</a> (GtkClipboard *clipboard, GtkSelectionData *selection_data)</td></tr>
<tr class="memitem:a7bb6e1e22a5967efd43cb71f4b9f512a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a7bb6e1e22a5967efd43cb71f4b9f512a">GetHaveGhemical</a> (void) const </td></tr>
<tr class="memitem:aee13c9b61573179489f8b99a427d72dc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#aee13c9b61573179489f8b99a427d72dc">GetHaveGChem3D</a> (void) const </td></tr>
<tr class="memitem:ac1bb88b4d51e2c6d3a1b9df26845dadd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ac1bb88b4d51e2c6d3a1b9df26845dadd">GetHaveAvogadro</a> (void) const </td></tr>
<tr class="memitem:a7b691a7056f1d077c1f643c351335b10"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a7b691a7056f1d077c1f643c351335b10">GetUseAtomColors</a> (void) const </td></tr>
<tr class="inherit_header pub_methods_classgcugtk_1_1Application"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcugtk_1_1Application')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classgcugtk_1_1Application.html">gcugtk::Application</a></td></tr>
<tr class="memitem:ab3a7e08c93c35f707eb16da9a9450f64 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#ab3a7e08c93c35f707eb16da9a9450f64">Application</a> (std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, <a class="el" href="classgcugtk_1_1CmdContextGtk.html">CmdContextGtk</a> *cc=NULL)</td></tr>
<tr class="memitem:a43cb616d21f8309b3db7d89dce50e9a8 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a43cb616d21f8309b3db7d89dce50e9a8">GetImageResolutionWidget</a> ()</td></tr>
<tr class="memitem:a6cb7a614ce2d5a186853731a4d1dbca2 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a6cb7a614ce2d5a186853731a4d1dbca2">GetImageSizeWidget</a> ()</td></tr>
<tr class="memitem:acfce65175d5ea08edbb993debb171dc6 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#acfce65175d5ea08edbb993debb171dc6">ReceiveTargets</a> (G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data)</td></tr>
<tr class="memitem:adbeb4a2ead393d9dc29a7ac51d931e93 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#adbeb4a2ead393d9dc29a7ac51d931e93">ShowURI</a> (GdkScreen *screen, std::string &amp;uri)</td></tr>
<tr class="memitem:aacd8ad96d9694e086479330d3f906ed7 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#aacd8ad96d9694e086479330d3f906ed7">OnBug</a> (GdkScreen *screen, char const *uri=PACKAGE_BUGREPORT)</td></tr>
<tr class="memitem:a658b1ba535e598383853481140b45b34 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a658b1ba535e598383853481140b45b34">OnWeb</a> (GdkScreen *screen, char const *uri=&quot;http://gchemutils.nongnu.org/&quot;)</td></tr>
<tr class="memitem:a0ba8820852d351c08eb3cd917410648b inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a0ba8820852d351c08eb3cd917410648b">OnMail</a> (GdkScreen *screen, char const *MailAddress=&quot;mailto:gchemutils-<a class="el" href="testgcuperiodic_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>@nongnu.org&quot;)</td></tr>
<tr class="memitem:aafbd98ffd171d63a5df9395fb5fc604d inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#aafbd98ffd171d63a5df9395fb5fc604d">OnLiveAssistance</a> (GdkScreen *screen)</td></tr>
<tr class="memitem:a00ae90e25f4e0100e4cc190a19898c27 inherit pub_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">GtkRecentManager *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a00ae90e25f4e0100e4cc190a19898c27">GetRecentManager</a> (void) const </td></tr>
<tr class="inherit_header pub_methods_classgcu_1_1Application"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcu_1_1Application')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classgcu_1_1Application.html">gcu::Application</a></td></tr>
<tr class="memitem:ad038baab7aaf39342b3c5d6650f3794f inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ad038baab7aaf39342b3c5d6650f3794f">Application</a> (std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, <a class="el" href="classgcu_1_1CmdContext.html">CmdContext</a> *cc=NULL)</td></tr>
<tr class="memitem:a9e75345f3bbcac050ecbffe2a0e54adb inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a9e75345f3bbcac050ecbffe2a0e54adb">OnHelp</a> (std::string s=&quot;&quot;)</td></tr>
<tr class="memitem:af63f52a24c853027a7bb6854d1b2f917 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#af63f52a24c853027a7bb6854d1b2f917">HasHelp</a> ()</td></tr>
<tr class="memitem:afff7a39ad3e9b322bfc6ecd87e1a33f2 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">std::string const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#afff7a39ad3e9b322bfc6ecd87e1a33f2">GetName</a> () const </td></tr>
<tr class="memitem:ad4936e8c6ba6b972702aea28067104dd inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ad4936e8c6ba6b972702aea28067104dd">FileProcess</a> (G_GNUC_UNUSED const gchar *filename, G_GNUC_UNUSED const gchar *mime_type, G_GNUC_UNUSED bool bSave, G_GNUC_UNUSED GtkWindow *window, G_GNUC_UNUSED <a class="el" href="classgcu_1_1Document.html">Document</a> *pDoc=NULL)</td></tr>
<tr class="memitem:a328711708b5418ae39ef72f98712732e inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">char const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a328711708b5418ae39ef72f98712732e">GetCurDir</a> ()</td></tr>
<tr class="memitem:a8ea5f1ed424c387a847b8baca1e5c91d inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a8ea5f1ed424c387a847b8baca1e5c91d">SetCurDir</a> (char const *dir)</td></tr>
<tr class="memitem:aa5b69c11be970d87d9483b60418cb212 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#aa5b69c11be970d87d9483b60418cb212">SetCurDir</a> (std::string const &amp;dir)</td></tr>
<tr class="memitem:a4466ff140726d27a2772744f8e473605 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">std::map&lt; std::string, <br class="typebreak"/>
GdkPixbufFormat * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a4466ff140726d27a2772744f8e473605">GetSupportedPixbufFormats</a> ()</td></tr>
<tr class="memitem:a64669c8089f80219832a737b591d5e37 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">char const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a64669c8089f80219832a737b591d5e37">GetPixbufTypeName</a> (std::string &amp;filename, char const *mime_type)</td></tr>
<tr class="memitem:a46902f2b431c2fa67e4020f0834e920f inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">ContentType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a46902f2b431c2fa67e4020f0834e920f">Load</a> (std::string const &amp;uri, const char *mime_type, <a class="el" href="classgcu_1_1Document.html">Document</a> *Doc, const char *options=NULL)</td></tr>
<tr class="memitem:abe28e369ce853a9d880c0d27243b9020 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">ContentType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#abe28e369ce853a9d880c0d27243b9020">Load</a> (GsfInput *input, const char *mime_type, <a class="el" href="classgcu_1_1Document.html">Document</a> *Doc, const char *options=NULL)</td></tr>
<tr class="memitem:a7bc68fcaa2f1261e16c0ef3afa6f5379 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a7bc68fcaa2f1261e16c0ef3afa6f5379">Save</a> (std::string const &amp;uri, const char *mime_type, <a class="el" href="classgcu_1_1Object.html">Object</a> const *Obj, <a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">ContentType</a> type, const char *options=NULL)</td></tr>
<tr class="memitem:a814b88c0b8948cded397a7f1f93bcfa6 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a814b88c0b8948cded397a7f1f93bcfa6">Save</a> (GsfOutput *output, const char *mime_type, <a class="el" href="classgcu_1_1Object.html">Object</a> const *Obj, <a class="el" href="namespacegcu.html#a662cb06e31132a49034b70b48a5f2b8f">ContentType</a> type, const char *options=NULL)</td></tr>
<tr class="memitem:ad8c700b6ed5300faf9f79e56cfa53ab5 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">std::string const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ad8c700b6ed5300faf9f79e56cfa53ab5">GetIconName</a> ()</td></tr>
<tr class="memitem:a90de97570dd956b2f6caa84c12ef143f inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a90de97570dd956b2f6caa84c12ef143f">RegisterOptions</a> (GOptionEntry const *entries, char const *translation_domain=GETTEXT_PACKAGE)</td></tr>
<tr class="memitem:a3e2b7ecc95e6989f8e434708d21f8b35 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a3e2b7ecc95e6989f8e434708d21f8b35">AddOptions</a> (GOptionContext *context)</td></tr>
<tr class="memitem:a91568fc2517bf5a02e22e45dfefc89f6 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a91568fc2517bf5a02e22e45dfefc89f6">AddType</a> (std::string TypeName, <a class="el" href="classgcu_1_1Object.html">Object</a> *(*CreateFunc)(), <a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> id=OtherType)</td></tr>
<tr class="memitem:a4cc3a4beb3af643e369a4021bc865593 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1Object.html">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a4cc3a4beb3af643e369a4021bc865593">CreateObject</a> (const std::string &amp;TypeName, <a class="el" href="classgcu_1_1Object.html">Object</a> *parent=NULL)</td></tr>
<tr class="memitem:a4f19d260b0d7414eff1f33bbfc4805e5 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a4f19d260b0d7414eff1f33bbfc4805e5">AddRule</a> (<a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> type1, <a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">RuleId</a> rule, <a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> type2)</td></tr>
<tr class="memitem:a97618a84e8b3888ed2f7e94c17d60cb3 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a97618a84e8b3888ed2f7e94c17d60cb3">AddRule</a> (const std::string &amp;type1, <a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">RuleId</a> rule, const std::string &amp;type2)</td></tr>
<tr class="memitem:afe97221b52b1e729e776805a33e77b0e inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">const std::set&lt; <a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#afe97221b52b1e729e776805a33e77b0e">GetRules</a> (<a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> type, <a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">RuleId</a> rule)</td></tr>
<tr class="memitem:a10022f2d0b36d57cc4ca880f3de2860b inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">const std::set&lt; <a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a10022f2d0b36d57cc4ca880f3de2860b">GetRules</a> (const std::string &amp;type, <a class="el" href="namespacegcu.html#a19c49d12e7c0a96ae2be6c6c33c44b47">RuleId</a> rule)</td></tr>
<tr class="memitem:a6cdb4f8fd6a36768da6b5c790a15afcf inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a6cdb4f8fd6a36768da6b5c790a15afcf">SetCreationLabel</a> (<a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> Id, std::string Label)</td></tr>
<tr class="memitem:adac54fe6104d344a8215f2a66aec8f94 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#adac54fe6104d344a8215f2a66aec8f94">GetCreationLabel</a> (<a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> Id)</td></tr>
<tr class="memitem:a77daef6686ed45783d38785551dee702 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a77daef6686ed45783d38785551dee702">BuildObjectContextualMenu</a> (<a class="el" href="classgcu_1_1Object.html">Object</a> *target, <a class="el" href="classgcu_1_1UIManager.html">UIManager</a> *uim, <a class="el" href="classgcu_1_1Object.html">Object</a> *object, double x, double y)</td></tr>
<tr class="memitem:aa32d7fff8aac324622728bd5baaaaef6 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#aa32d7fff8aac324622728bd5baaaaef6">AddMenuCallback</a> (<a class="el" href="namespacegcu.html#a4a6abffbefdd6abf047dca4e63b0bac5">TypeId</a> Id, <a class="el" href="namespacegcu.html#aea85ee1e0ab66342f28448b2e7a9174d">BuildMenuCb</a> cb)</td></tr>
<tr class="memitem:abb17dc495a72318df86d78a450c44f46 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#abb17dc495a72318df86d78a450c44f46">GetCreationLabel</a> (const std::string &amp;TypeName)</td></tr>
<tr class="memitem:a1917c69cc2328bcaac7e8408dc67fd09 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1CmdContext.html">CmdContext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a1917c69cc2328bcaac7e8408dc67fd09">GetCmdContext</a> ()</td></tr>
<tr class="memitem:a171fbd22b6e26ebca12e34c61d3efe12 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a171fbd22b6e26ebca12e34c61d3efe12">ConvertToCML</a> (std::string const &amp;uri, const char *mime_type, const char *options=NULL)</td></tr>
<tr class="memitem:a75dd4d8a47d97b98c3619b469a8c6d65 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a75dd4d8a47d97b98c3619b469a8c6d65">ConvertToCML</a> (GsfInput *input, const char *mime_type, const char *options=NULL)</td></tr>
<tr class="memitem:ace147caa238e551718517e8f4a778555 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ace147caa238e551718517e8f4a778555">ConvertFromCML</a> (const char *cml, std::string const &amp;uri, const char *mime_type, const char *options=NULL)</td></tr>
<tr class="memitem:a054bda2d7fc39827836b6636f7205c01 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a054bda2d7fc39827836b6636f7205c01">ConvertFromCML</a> (const char *cml, GsfOutput *output, const char *mime_type, const char *options=NULL)</td></tr>
<tr class="memitem:ab00f052e9aabf7a7c55153bc90035a60 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">std::list&lt; Database &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ab00f052e9aabf7a7c55153bc90035a60">GetDatabases</a> (char const *classname)</td></tr>
<tr class="memitem:a24e28b6244875362721e89a78b60831e inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">std::set&lt; <a class="el" href="classgcu_1_1Document.html">Document</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a24e28b6244875362721e89a78b60831e">GetDocs</a> (void)</td></tr>
<tr class="memitem:a67599fd5161b7ed78e4d14cf4d232d51 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a67599fd5161b7ed78e4d14cf4d232d51">GetScreenResolution</a> (void)</td></tr>
<tr class="memitem:ab3f4b702038b8bfc20b7f066caea7248 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ab3f4b702038b8bfc20b7f066caea7248">SetImageResolution</a> (unsigned val)</td></tr>
<tr class="memitem:a7c64df2b7a520aad0b5ba58a55a94039 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a7c64df2b7a520aad0b5ba58a55a94039">GetImageResolution</a> (void) const </td></tr>
<tr class="memitem:a4b22d854c5583041aa858121fe02615b inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a4b22d854c5583041aa858121fe02615b">GetRefImageResolution</a> (void)</td></tr>
<tr class="memitem:ad7904eea8f6f35f1c6d82d520994489d inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ad7904eea8f6f35f1c6d82d520994489d">SetImageWidth</a> (unsigned val)</td></tr>
<tr class="memitem:a7e653fccc028f2bb733aa1fc34c81c41 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a7e653fccc028f2bb733aa1fc34c81c41">GetImageWidth</a> (void) const </td></tr>
<tr class="memitem:aeec8fe92d85b3c44848f04934c5d139b inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#aeec8fe92d85b3c44848f04934c5d139b">GetRefImageWidth</a> (void)</td></tr>
<tr class="memitem:ade281be77ea51423ef3456af1f3835a0 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#ade281be77ea51423ef3456af1f3835a0">SetImageHeight</a> (unsigned val)</td></tr>
<tr class="memitem:a5ac990bf031b2cd2c44dfddfba082df9 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a5ac990bf031b2cd2c44dfddfba082df9">GetImageHeight</a> (void) const </td></tr>
<tr class="memitem:abf060f5dad2a106472eebf0416a9429a inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">unsigned &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#abf060f5dad2a106472eebf0416a9429a">GetRefImageHeight</a> (void)</td></tr>
<tr class="memitem:a7ad287d45993f84ade510eb4a9bf0667 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a7ad287d45993f84ade510eb4a9bf0667">SetTransparentBackground</a> (bool val)</td></tr>
<tr class="memitem:a93b919f8d3b022c335a5136c85f22bf4 inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a93b919f8d3b022c335a5136c85f22bf4">GetTransparentBackground</a> (void) const </td></tr>
<tr class="memitem:a671accc4ceb86036dc8a618e1c70974d inherit pub_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#a671accc4ceb86036dc8a618e1c70974d">GetRefTransparentBackground</a> (void)</td></tr>
<tr class="inherit_header pub_methods_classgcu_1_1DialogOwner"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcu_1_1DialogOwner')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classgcu_1_1DialogOwner.html">gcu::DialogOwner</a></td></tr>
<tr class="memitem:af49d514cf80de92446705b153542257e inherit pub_methods_classgcu_1_1DialogOwner"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DialogOwner.html#af49d514cf80de92446705b153542257e">DialogOwner</a> ()</td></tr>
<tr class="memitem:a9692299469f2df5e82daf82b39a9c0c6 inherit pub_methods_classgcu_1_1DialogOwner"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DialogOwner.html#a9692299469f2df5e82daf82b39a9c0c6">~DialogOwner</a> ()</td></tr>
<tr class="memitem:a641f5796bc2e100ec80ee07e6019b1c8 inherit pub_methods_classgcu_1_1DialogOwner"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1Dialog.html">Dialog</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DialogOwner.html#a641f5796bc2e100ec80ee07e6019b1c8">GetDialog</a> (std::string name) const </td></tr>
<tr class="memitem:ac1a8b9bb42b75a728c64207f3efa40f8 inherit pub_methods_classgcu_1_1DialogOwner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1DialogOwner.html#ac1a8b9bb42b75a728c64207f3efa40f8">ClearDialogs</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a8a018c0e899939a08de507d27ae35eaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a8a018c0e899939a08de507d27ae35eaa">InitTools</a> ()</td></tr>
<tr class="memitem:ac120873bb370a8a4a72875cf8d681786"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ac120873bb370a8a4a72875cf8d681786">BuildTools</a> ()  throw (std::runtime_error)</td></tr>
<tr class="memitem:a77eb37d84afd80ff96104570c039912e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a77eb37d84afd80ff96104570c039912e">ShowTools</a> (bool visible)</td></tr>
<tr class="inherit_header pro_methods_classgcugtk_1_1Application"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgcugtk_1_1Application')"><img src="closed.png" alt="-"/>&nbsp;Protected Member Functions inherited from <a class="el" href="classgcugtk_1_1Application.html">gcugtk::Application</a></td></tr>
<tr class="memitem:abdcbf02465f034dd926b423999b391e1 inherit pro_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#abdcbf02465f034dd926b423999b391e1">NoMoreDocsEvent</a> ()</td></tr>
<tr class="memitem:a9760081055f798173d0d28e782c58858 inherit pro_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a9760081055f798173d0d28e782c58858">CreateDefaultCmdContext</a> ()</td></tr>
<tr class="memitem:a5b5f3587293b3f86157e2ec261be9cd4 inherit pro_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a5b5f3587293b3f86157e2ec261be9cd4">LoopRunning</a> ()</td></tr>
<tr class="inherit_header pro_methods_classgcu_1_1Application"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgcu_1_1Application')"><img src="closed.png" alt="-"/>&nbsp;Protected Member Functions inherited from <a class="el" href="classgcu_1_1Application.html">gcu::Application</a></td></tr>
<tr class="memitem:adfe318025ea67cc8df6f14c47d5e518b inherit pro_methods_classgcu_1_1Application"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1Application.html#adfe318025ea67cc8df6f14c47d5e518b">RegisterBabelType</a> (const char *mime_type, const char *type)</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:a815e82171b75e65d19969a6c7fce3264"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a815e82171b75e65d19969a6c7fce3264">m_pActiveDoc</a></td></tr>
<tr class="memitem:a71e14bab42c844c51d78973799620156"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Target.html">Target</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#a71e14bab42c844c51d78973799620156">m_pActiveTarget</a></td></tr>
<tr class="memitem:ac86358cf4f16a0f2786910c37a8ca455"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Application.html#ac86358cf4f16a0f2786910c37a8ca455">m_NumWindow</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classgcugtk_1_1Application"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classgcugtk_1_1Application')"><img src="closed.png" alt="-"/>&nbsp;Static Public Member Functions inherited from <a class="el" href="classgcugtk_1_1Application.html">gcugtk::Application</a></td></tr>
<tr class="memitem:ac6f412df8519e376fbca1a66a3093a5a inherit pub_static_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacegcugtk.html#a0136f50f7aaa9e82d5ce935b1faebb90">WindowState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#ac6f412df8519e376fbca1a66a3093a5a">GetDefaultWindowState</a> ()</td></tr>
<tr class="memitem:a8004fd7f6483c3cf19973000d521590e inherit pub_static_methods_classgcugtk_1_1Application"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcugtk_1_1Application.html#a8004fd7f6483c3cf19973000d521590e">OnReceiveTargets</a> (GtkClipboard *clipboard, GtkSelectionData *selection_data, <a class="el" href="classgcugtk_1_1Application.html">Application</a> *App)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>GChemPaint application base class. </p>
<p>This class is used to represent a GChemPaint application. It is a virtual class since at least one method is pure virtual (<a class="el" href="classgcp_1_1Application.html#ac33138d8f442dadfb2c4dc066d898f5f">gcp::Application::GetWindow</a>) </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00100">100</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9265690f1f5384ad499ca9746614598c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Application::Application </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcugtk_1_1CmdContextGtk.html">gcugtk::CmdContextGtk</a> *&#160;</td>
          <td class="paramname"><em>cc</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The default constructor. </p>

</div>
</div>
<a class="anchor" id="a10a25b2eb4539638e7bc341017c3f9c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual gcp::Application::~Application </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>

<p>Reimplemented from <a class="el" href="classgcugtk_1_1Application.html#a45093e7c34f60fea9c94f808f707e897">gcugtk::Application</a>.</p>

</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a8586168dae9ad906c25b31f3979e5491"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::ActivateTool </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>toolname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>activate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">toolname</td><td>the name of the tool. </td></tr>
    <tr><td class="paramname">activate</td><td>whether to activate or deactivate.</td></tr>
  </table>
  </dd>
</dl>
<p>Activates or deactivates a tool in the GChempaint tool box.</p>
<p>To activate the selection tool: </p>
<div class="fragment"><div class="line"><a class="code" href="classgcp_1_1Application.html#a8586168dae9ad906c25b31f3979e5491">ActivateTool</a> (<span class="stringliteral">&quot;Select&quot;</span>, <span class="keyword">true</span>);</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="aaf6e661ddd379f6fe8cb4317508ad8f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::ActivateWindowsActionWidget </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>activate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">path</td><td>the path to activate. </td></tr>
    <tr><td class="paramname">activate</td><td>whether to activate or deactivate.</td></tr>
  </table>
  </dd>
</dl>
<p>Activates or deactivates the menu item corresponding to <em>path</em> according to the value of <em>activate</em>.</p>
<p>To deactivate the "Paste" menu item, use: </p>
<div class="fragment"><div class="line"><a class="code" href="classgcp_1_1Application.html#aaf6e661ddd379f6fe8cb4317508ad8f7">ActivateWindowsActionWidget</a> (<span class="stringliteral">&quot;/MainMenu/EditMenu/Paste&quot;</span>, <span class="keyword">false</span>);</div>
</div><!-- fragment --><p>Calls <a class="el" href="classgcu_1_1Window.html#a256b2538a18e926affa1d13359cae903">gcp::Window::ActivateActionWidget</a>. </p>

</div>
</div>
<a class="anchor" id="a6b05b62c8794d2bbbe4104a9e8302700"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::AddActions </td>
          <td>(</td>
          <td class="paramtype">GtkRadioActionEntry const *&#160;</td>
          <td class="paramname"><em>entries</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>ui_description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structgcp_1_1IconDesc.html">IconDesc</a> const *&#160;</td>
          <td class="paramname"><em>icons</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">entries</td><td>an array of GtkRadioActionEntry structures. </td></tr>
    <tr><td class="paramname">nb</td><td>the number of entries. </td></tr>
    <tr><td class="paramname">ui_description</td><td>an xml like text describing the user interface. </td></tr>
    <tr><td class="paramname">icons</td><td>an array of <a class="el" href="structgcp_1_1IconDesc.html">IconDesc</a> structures for the icons used by the buttons.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds new buttons in the tools box. The code used in the selection plugin is: </p>
<div class="fragment"><div class="line"><span class="keyword">static</span> <a class="code" href="structgcp_1_1IconDesc.html">gcp::IconDesc</a> icon_descs[] = {</div>
<div class="line">        {<span class="stringliteral">&quot;gcp_Selection&quot;</span>, gcp_selection_24},</div>
<div class="line">        {<span class="stringliteral">&quot;gcp_Eraser&quot;</span>, gcp_eraser_24},</div>
<div class="line">        {NULL, NULL}</div>
<div class="line">};</div>
<div class="line"></div>
<div class="line"><span class="keyword">static</span> GtkRadioActionEntry entries[] = {</div>
<div class="line">        {       <span class="stringliteral">&quot;Select&quot;</span>, <span class="stringliteral">&quot;gcp_Selection&quot;</span>, N_(<span class="stringliteral">&quot;Select&quot;</span>), NULL,</div>
<div class="line">                N_(<span class="stringliteral">&quot;Select one or more objects&quot;</span>),</div>
<div class="line">                0       },</div>
<div class="line">        {       <span class="stringliteral">&quot;Erase&quot;</span>, <span class="stringliteral">&quot;gcp_Eraser&quot;</span>, N_(<span class="stringliteral">&quot;Erase&quot;</span>), NULL,</div>
<div class="line">                N_(<span class="stringliteral">&quot;Eraser&quot;</span>),</div>
<div class="line">                0       }</div>
<div class="line">};</div>
<div class="line"></div>
<div class="line"><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *ui_description =</div>
<div class="line"><span class="stringliteral">&quot;&lt;ui&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;  &lt;toolbar name=&#39;SelectToolbar&#39;&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;        &lt;placeholder name=&#39;Select1&#39;&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;      &lt;toolitem action=&#39;Select&#39;/&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;      &lt;toolitem action=&#39;Erase&#39;/&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;        &lt;/placeholder&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;        &lt;placeholder name=&#39;Select2&#39;/&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;        &lt;placeholder name=&#39;Select3&#39;/&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;  &lt;/toolbar&gt;&quot;</span></div>
<div class="line"><span class="stringliteral">&quot;&lt;/ui&gt;&quot;</span>;</div>
<div class="line"></div>
<div class="line"><span class="keywordtype">void</span> gcpSelectionPlugin::Populate (<a class="code" href="classgcp_1_1Application.html" title="GChemPaint application base class.">gcp::Application</a>* App)</div>
<div class="line">{</div>
<div class="line">        App-&gt;<a class="code" href="classgcp_1_1Application.html#a6b05b62c8794d2bbbe4104a9e8302700">AddActions</a> (entries, G_N_ELEMENTS (entries), ui_description, icon_descs);</div>
<div class="line">        App-&gt;<a class="code" href="classgcp_1_1Application.html#abf4208115910eedb573f3634548c7381">RegisterToolbar</a> (<span class="stringliteral">&quot;SelectToolbar&quot;</span>, 0);</div>
<div class="line">        <span class="keyword">new</span> gcpSelectionTool (App);</div>
<div class="line">        <span class="keyword">new</span> gcpEraserTool (App);</div>
<div class="line">        App-&gt;<a class="code" href="classgcp_1_1Application.html#a8586168dae9ad906c25b31f3979e5491">ActivateTool</a> (<span class="stringliteral">&quot;Select&quot;</span>, <span class="keyword">true</span>);</div>
<div class="line">}</div>
</div><!-- fragment --> 
</div>
</div>
<a class="anchor" id="a29d9828c2b64a6361d1ac37dac4ba4cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::AddCanvas </td>
          <td>(</td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Canvas.html">gccv::Canvas</a> *&#160;</td>
          <td class="paramname"><em>canvas</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>the path associated to a tool </td></tr>
    <tr><td class="paramname">canvas</td><td>the canvas used as icon for the tool</td></tr>
  </table>
  </dd>
</dl>
<p>Associates a canvas to a tool for use as an icon for the tool button. Used to have scalable icons using the theme colors whenever possible. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00425">425</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7bbbe91bc1bec1bfa0e616cd8a393358"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::AddMenuCallback </td>
          <td>(</td>
          <td class="paramtype">BuildMenuCb&#160;</td>
          <td class="paramname"><em>cb</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">cb,:</td><td>the BuildMenuCb callback to call when building the menu.</td></tr>
  </table>
  </dd>
</dl>
<p>adds a callback for adding entries to the windows menus. </p>

</div>
</div>
<a class="anchor" id="a528e68e0bb23524ed3ee26bcb36060d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::AddTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Target.html">Target</a> *&#160;</td>
          <td class="paramname"><em>target</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">target</td><td>the <a class="el" href="classgcp_1_1Target.html">Target</a> to add.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds a <a class="el" href="classgcp_1_1Target.html">Target</a> to the list of known Targets and displays the tools box next to the <a class="el" href="classgcp_1_1Target.html">Target</a>. </p>

</div>
</div>
<a class="anchor" id="adf7770568dc2d274e788e91ee906e1b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::BuildMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1UIManager.html">gcu::UIManager</a> *&#160;</td>
          <td class="paramname"><em>manager</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">manager,:</td><td>the <a class="el" href="classgcu_1_1UIManager.html" title="base class for a user interface manager">gcu::UIManager</a> to populate.</td></tr>
  </table>
  </dd>
</dl>
<p>Populates the user interface by calling all callbacks registered with AddMenuCallback. </p>

</div>
</div>
<a class="anchor" id="ac120873bb370a8a4a72875cf8d681786"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::BuildTools </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>  throw (std::runtime_error)</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>Builds the tools box. This method is called only once after startup by the framework. </p>

</div>
</div>
<a class="anchor" id="a71530cae4d17c5f126090e9300102dff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gcp::Application::ClearStatus </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>Clears the message in the status bar. </p>

</div>
</div>
<a class="anchor" id="a96ba5d31350d2d70da51036143b8010d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::CloseAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Closes all open documents and ends the application. </p>

</div>
</div>
<a class="anchor" id="ae192101a211fe851ffe9cee631dd59de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcu_1_1Document.html">gcu::Document</a>* gcp::Application::CreateNewDocument </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>Creates a new document using the default theme. </p>
<dl class="section return"><dt>Returns</dt><dd>the newly created document. </dd></dl>

<p>Reimplemented from <a class="el" href="classgcu_1_1Application.html#a1fb2e62ce60effbb096f87de8656753b">gcu::Application</a>.</p>

</div>
</div>
<a class="anchor" id="a01679712c2273b7f18fb9b6bdd486b7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::DeleteTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Target.html">Target</a> *&#160;</td>
          <td class="paramname"><em>target</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">target</td><td>the <a class="el" href="classgcp_1_1Target.html">Target</a> to delete.</td></tr>
  </table>
  </dd>
</dl>
<p>Deletes a <a class="el" href="classgcp_1_1Target.html">Target</a> from the list of known Targets. The tools box will be hidden if no <a class="el" href="classgcp_1_1Target.html">Target</a> remains active. </p>

</div>
</div>
<a class="anchor" id="aa43dddebbf9f59f9614c1024334d20db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::Application::FileProcess </td>
          <td>(</td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>mime_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bSave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkWindow *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Document.html">gcu::Document</a> *&#160;</td>
          <td class="paramname"><em>pDoc</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">filename</td><td>the URI of the file to save or open. </td></tr>
    <tr><td class="paramname">mime_type</td><td>the mime type. </td></tr>
    <tr><td class="paramname">bSave</td><td>true when saving and false when opening. </td></tr>
    <tr><td class="paramname">window</td><td>a parent GtkWindow which is used for messabe boxes if any. </td></tr>
    <tr><td class="paramname">pDoc</td><td>a document (might be NULL when loading.</td></tr>
  </table>
  </dd>
</dl>
<p>Callback called when the user clicks on the Save or Open button in the file chooser to process the file. </p>
<dl class="section return"><dt>Returns</dt><dd>false on success, true otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a5656c693727878b303fa89dedb6fe35e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a>* gcp::Application::GetActiveDocument </td>
          <td>(</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 active document. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00163">163</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

<p>References <a class="el" href="gcp_2application_8h_source.html#l00461">m_pActiveDoc</a>.</p>

</div>
</div>
<a class="anchor" id="abc5906e1da58b1fae003e66ed9f1b5b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Tool.html">Tool</a>* gcp::Application::GetActiveTool </td>
          <td>(</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 active tool. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00159">159</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6cc5263deb5862282471e9adecfa46db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GdkCursor* gcp::Application::GetCursor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacegcp.html#addf891a9e323f7d69e2a3e72853d624f">CursorId</a>&#160;</td>
          <td class="paramname"><em>id</em></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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>a CursorId</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the corresponding GdkCursor if any. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00412">412</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a41d3c15263bba991ac135bf6350a9673"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gcp::Application::GetCurZ </td>
          <td>(</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 current atomic number. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00205">205</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a82ee8d42088693e6d67d2cd7be464db3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gcp::Application::GetDocsNumber </td>
          <td>(</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 number of opened documents. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00252">252</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

<p>References <a class="el" href="gcu_2application_8h_source.html#l00475">gcu::Application::m_Docs</a>.</p>

</div>
</div>
<a class="anchor" id="a62a47b429924f2d9fa894473dfb85279"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt;std::string&gt;&amp; gcp::Application::GetExtensions </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>mime_type</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">mime_type</td><td>a mime type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the list of file name extensions corresponding to the mime type. </dd></dl>

</div>
</div>
<a class="anchor" id="ac1bb88b4d51e2c6d3a1b9df26845dadd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Application::GetHaveAvogadro </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</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>true if avogadro is usable on startup. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00508">508</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="aee13c9b61573179489f8b99a427d72dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Application::GetHaveGChem3D </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</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>true if gchem3d is usable on startup. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00504">504</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7bb6e1e22a5967efd43cb71f4b9f512a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Application::GetHaveGhemical </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</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>true if ghemical is usable on startup. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00500">500</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3be5fe0bb0c695b7b81634c82b3e30ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt;std::string&gt;&amp; gcp::Application::GetSupportedMimeTypes </td>
          <td>(</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>a list of supported mime types. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00355">355</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab0d4f280a35175065e341d8ab6081110"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Tool.html">Tool</a>* gcp::Application::GetTool </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name of a tool </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classgcp_1_1Tool.html">Tool</a> corresponding to <em>name</em>. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00174">174</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad8540e8bbf84c8ee7f30e7703c98f82b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* gcp::Application::GetToolItem </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name of a tool </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the GtkWidget corresponding to the <a class="el" href="classgcp_1_1Tool.html">Tool</a> named <em>name</em>. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00187">187</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b691a7056f1d077c1f643c351335b10"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::Application::GetUseAtomColors </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</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>true if atomic symbols are displayed using the element symbolic color. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00512">512</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac33138d8f442dadfb2c4dc066d898f5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual GtkWindow* gcp::Application::GetWindow </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>This pure virtual method must be overloaded by derived classes. </p>
<dl class="section return"><dt>Returns</dt><dd>the current active top level window if any, or NULL. </dd></dl>

<p>Reimplemented from <a class="el" href="classgcu_1_1Application.html#a94cfeb904903c664b617287293d43644">gcu::Application</a>.</p>

</div>
</div>
<a class="anchor" id="a85907c24ea57e88d48a2fcef66489676"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">xmlDocPtr gcp::Application::GetXmlDoc </td>
          <td>(</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>a xmlDocPtr used for some undo/redo related operations. The text tools use it. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00240">240</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="abfa4ffa712cb18ec1e64516280371ffa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::Application::Have3DSupport </td>
          <td>(</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>true if an appropriate 3D viewer is available. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00417">417</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="aafbe55f3705c7e82e0e6eed52c908f98"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::Application::HaveInChI </td>
          <td>(</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>true if InChIs can be evaluated for molecules. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00248">248</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8a018c0e899939a08de507d27ae35eaa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::InitTools </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></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>Initialize the tools box so that the selection tool is active. This method is called only once aafter startup by the framework. </p>

</div>
</div>
<a class="anchor" id="ab96f27e84e7cd0f8e169e23bf41b69da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::NotifyFocus </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_focus</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Target.html">Target</a> *&#160;</td>
          <td class="paramname"><em>target</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">has_focus</td><td>whether the <a class="el" href="classgcp_1_1Target.html">Target</a> has focus or not. </td></tr>
    <tr><td class="paramname">target</td><td>the <a class="el" href="classgcp_1_1Target.html">Target</a> for which the event occured.</td></tr>
  </table>
  </dd>
</dl>
<p>Shows the tools box next to <em>target</em> if <em>has_focus</em> is true and if <em>target</em> is not NULL. </p>

</div>
</div>
<a class="anchor" id="a9b60549b1b36d277593a82c20e7040ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::NotifyIconification </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>iconified</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">iconified</td><td>whether the currently active <a class="el" href="classgcp_1_1Target.html">Target</a> is iconified or not.</td></tr>
  </table>
  </dd>
</dl>
<p>If <em>iconified</em> is true, the tools box will be hidden if no <a class="el" href="classgcp_1_1Target.html">Target</a> remains active, otherwise it will be displayed next to the active <a class="el" href="classgcp_1_1Target.html">Target</a>. </p>

</div>
</div>
<a class="anchor" id="a226cc27cd662b3565ac80a3e190b23db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OnConfigChanged </td>
          <td>(</td>
          <td class="paramtype">GOConfNode *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gchar const *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">node</td><td>the GONode which changed. </td></tr>
    <tr><td class="paramname">name</td><td>the name of the key.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework when the configuration entry has changed to update a running application preferences if the system allows such callbacks. </p>

</div>
</div>
<a class="anchor" id="af95dbf95fddd5138f88590a45b7339bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gcp::Application::OnFileNew </td>
          <td>(</td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>Theme</em> = <code>NULL</code></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">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="classgcp_1_1Theme.html" title="themes class.">Theme</a></td><td>a <a class="el" href="classgcp_1_1Theme.html" title="themes class.">gcp::Theme</a> or NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a new document using the given theme or the default theme if <em><a class="el" href="classgcp_1_1Theme.html" title="themes class.">Theme</a></em> is NULL. This method must be overloaded by derived classes since it is pure virtual. </p>

</div>
</div>
<a class="anchor" id="a43003e7a84ad8f724fd3541ac96867dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OnSaveAs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Open the file save as dialog to save the current document with a new name. </p>

</div>
</div>
<a class="anchor" id="a9ea6af65cd7ce6f3a41e678b1f7687a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OnSaveAsImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves the active view as an image. </p>

</div>
</div>
<a class="anchor" id="aed3e4656b6423396b8f03273b224e2be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OnThemeNamesChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the framework after a change of a theme name. Ensure evrything is correctly updated. </p>

</div>
</div>
<a class="anchor" id="aea2bc6d352b908f626398c3e68a2e11f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OnToolChanged </td>
          <td>(</td>
          <td class="paramtype">GtkAction *&#160;</td>
          <td class="paramname"><em>current</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">current</td><td>the GtkAction for the activated tool.</td></tr>
  </table>
  </dd>
</dl>
<p>Call by the framework when the active tool changed. </p>

</div>
</div>
<a class="anchor" id="a929730057dcc01fbee9b717d30bd4402"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::OpenGcp </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *&#160;</td>
          <td class="paramname"><em>pDoc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">filename</td><td>the URI of the file to load. </td></tr>
    <tr><td class="paramname">pDoc</td><td>a document or NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>Loads a GChemPaint document. </p>

</div>
</div>
<a class="anchor" id="aab5963ea5b5be62b2b20663665e98f71"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::ReceiveTargets </td>
          <td>(</td>
          <td class="paramtype">GtkClipboard *&#160;</td>
          <td class="paramname"><em>clipboard</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkSelectionData *&#160;</td>
          <td class="paramname"><em>selection_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">clipboard</td><td>a clipboard. </td></tr>
    <tr><td class="paramname">selection_data</td><td>the available data</td></tr>
  </table>
  </dd>
</dl>
<p>Used as callback as gtk_clipboard_request_contents(). </p>

</div>
</div>
<a class="anchor" id="abf4208115910eedb573f3634548c7381"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::RegisterToolbar </td>
          <td>(</td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">name</td><td>the name of the toolbar. </td></tr>
    <tr><td class="paramname">index</td><td>the rank of the toolbar in the toolbox.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds a new toolbar to the tools box. See the documentation of <a class="el" href="classgcp_1_1Application.html#a6b05b62c8794d2bbbe4104a9e8302700">gcp::Application::AddActions()</a> for a case use. </p>

</div>
</div>
<a class="anchor" id="a5d9b25abcdf9c285f40d796a1a0a6875"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::SaveGcp </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *&#160;</td>
          <td class="paramname"><em>pDoc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">filename</td><td>the URI of the file to save. </td></tr>
    <tr><td class="paramname">pDoc</td><td>the document to save.</td></tr>
  </table>
  </dd>
</dl>
<p>Saves the active document in the native GChemPaint format. </p>

</div>
</div>
<a class="anchor" id="a97e2bb10a127365658c67624e2e0c926"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::SetActiveDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *&#160;</td>
          <td class="paramname"><em>pDoc</em></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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pDoc</td><td>the document becoming active.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the new active document. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00169">169</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

<p>References <a class="el" href="gcp_2application_8h_source.html#l00461">m_pActiveDoc</a>.</p>

</div>
</div>
<a class="anchor" id="a82a761d6e3da734ee81532a95e91f4b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::SetCurZ </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Z</em></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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Z</td><td>the new current atomic number.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the new current atomic number. This number is used for new atoms. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00201">201</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9afa7ede3924ffd10e76a417e84c93bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gcp::Application::SetStatusText </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>text</em></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">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>a text to display</td></tr>
  </table>
  </dd>
</dl>
<p>Displays <em>text</em> in the status bar. </p>

</div>
</div>
<a class="anchor" id="a0e297b81717fe0777129ba7ce7ce527b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::SetTool </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>toolname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Tool.html">Tool</a> *&#160;</td>
          <td class="paramname"><em>tool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toolname</td><td>the name of a new tool. </td></tr>
    <tr><td class="paramname">tool</td><td>the new <a class="el" href="classgcp_1_1Tool.html">Tool</a>.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds a new tool to the tools box. This method is called from the <a class="el" href="classgcp_1_1Tool.html">Tool</a> constructor. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00182">182</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb3e5b6a13580d6891ed540a755fd6c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::SetToolItem </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the name of a new tool. </td></tr>
    <tr><td class="paramname">w</td><td>a GtkWidget.</td></tr>
  </table>
  </dd>
</dl>
<p>Associates <em>w</em> to the <a class="el" href="classgcp_1_1Tool.html">Tool</a> named <em>name</em>. <a class="el" href="classgcp_1_1Application.html#a0e297b81717fe0777129ba7ce7ce527b">SetTool()</a> will return this widget when its argument is <em>name</em>. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00195">195</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a77eb37d84afd80ff96104570c039912e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::ShowTools </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">visible</td><td>whether the tools box should be visible or not</td></tr>
  </table>
  </dd>
</dl>
<p>Shows or hides the tools box. </p>

</div>
</div>
<a class="anchor" id="ab81bca0d7187cfde61a8654b365d2a4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::Application::Zoom </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zoom</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">zoom</td><td>the new zoom level.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the zoom level for the active document window. </p>

</div>
</div>
<h2>Member Data Documentation</h2>
<a class="anchor" id="ac86358cf4f16a0f2786910c37a8ca455"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned gcp::Application::m_NumWindow</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>Used to add a number to new files default names. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00469">469</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<a class="anchor" id="a815e82171b75e65d19969a6c7fce3264"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a>* gcp::Application::m_pActiveDoc</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 active document. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00461">461</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

<p>Referenced by <a class="el" href="gcp_2application_8h_source.html#l00163">GetActiveDocument()</a>, and <a class="el" href="gcp_2application_8h_source.html#l00169">SetActiveDocument()</a>.</p>

</div>
</div>
<a class="anchor" id="a71e14bab42c844c51d78973799620156"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgcp_1_1Target.html">Target</a>* gcp::Application::m_pActiveTarget</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 active target. </p>

<p>Definition at line <a class="el" href="gcp_2application_8h_source.html#l00465">465</a> of file <a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gcp_2application_8h_source.html">gcp/application.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 14 2013 17:34:29 for The Gnome Chemistry Utils by &#160;<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>