Sophie

Sophie

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

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::View 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_1View.html">View</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgcp_1_1View-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gcp::View Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gcp::View:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgcp_1_1View.png" usemap="#gcp::View_map" alt=""/>
  <map id="gcp::View_map" name="gcp::View_map">
<area href="classgccv_1_1Client.html" title="The document associated with the canvas." alt="gccv::Client" shape="rect" coords="0,0,78,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:aaae23ce01e8f8439634263c65b7eac76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#aaae23ce01e8f8439634263c65b7eac76">View</a> (<a class="el" href="classgcp_1_1Document.html">Document</a> *pDoc, bool Embedded)</td></tr>
<tr class="memitem:afe0b092caa73069bd99a3a37f5b2496c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#afe0b092caa73069bd99a3a37f5b2496c">~View</a> ()</td></tr>
<tr class="memitem:a703d205b2d4305aa725d6450dce9579c"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a703d205b2d4305aa725d6450dce9579c">GetWidget</a> ()</td></tr>
<tr class="memitem:a637eda33cfc3af52f101631741f79288"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1Document.html">Document</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a637eda33cfc3af52f101631741f79288">GetDoc</a> ()</td></tr>
<tr class="memitem:a2c65002bca951365575d1ee7fb92fce0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a2c65002bca951365575d1ee7fb92fce0">AddObject</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *pObject)</td></tr>
<tr class="memitem:a8e159b3a1b48d75ff91ba8b1c65b9df4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a8e159b3a1b48d75ff91ba8b1c65b9df4">Update</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *pObject)</td></tr>
<tr class="memitem:a2deb8aa87d6f729779d039e30f0758f5"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a2deb8aa87d6f729779d039e30f0758f5">CreateNewWidget</a> ()</td></tr>
<tr class="memitem:a51f10d985729b3852371c123482ad512"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a51f10d985729b3852371c123482ad512">OnDestroy</a> (GtkWidget *widget)</td></tr>
<tr class="memitem:a411739b183ccb77274c53390e5d68065"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a411739b183ccb77274c53390e5d68065">GetZoomFactor</a> ()</td></tr>
<tr class="memitem:a63cb9463817e1910876f58c89054bb25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a63cb9463817e1910876f58c89054bb25">UpdateFont</a> ()</td></tr>
<tr class="memitem:a909365307b2e7d0e20fb426425d4d955"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a909365307b2e7d0e20fb426425d4d955">Remove</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *pObject)</td></tr>
<tr class="memitem:a40431bf8887775d53a025267c0b557de"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a40431bf8887775d53a025267c0b557de">GetFontHeight</a> ()</td></tr>
<tr class="memitem:a0be9a4a197580fd79ed33149dbcd7661"><td class="memItemLeft" align="right" valign="top">gchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a0be9a4a197580fd79ed33149dbcd7661">GetFontName</a> ()</td></tr>
<tr class="memitem:a886f738e38cd869fed968ded7f2ec490"><td class="memItemLeft" align="right" valign="top">gchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a886f738e38cd869fed968ded7f2ec490">GetSmallFontName</a> ()</td></tr>
<tr class="memitem:a472c02862144098350433be70472b83d"><td class="memItemLeft" align="right" valign="top">PangoFontDescription *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a472c02862144098350433be70472b83d">GetPangoFontDesc</a> ()</td></tr>
<tr class="memitem:abce9cce2d8d83d987f75a8ddb9b189d6"><td class="memItemLeft" align="right" valign="top">PangoFontDescription *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#abce9cce2d8d83d987f75a8ddb9b189d6">GetPangoSmallFontDesc</a> ()</td></tr>
<tr class="memitem:ae2d10751e8b37401479e83d1e81b4e57"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ae2d10751e8b37401479e83d1e81b4e57">OnDeleteSelection</a> (GtkWidget *w)</td></tr>
<tr class="memitem:ac0509dc4ae1544189c141d5ef8e6dce5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ac0509dc4ae1544189c141d5ef8e6dce5">OnCopySelection</a> (GtkWidget *w, GtkClipboard *clipboard)</td></tr>
<tr class="memitem:a7fb34c2757328bf8990838af763ac149"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a7fb34c2757328bf8990838af763ac149">OnPasteSelection</a> (GtkWidget *w, GtkClipboard *clipboard)</td></tr>
<tr class="memitem:ab39a4a2c87fd213705a029c369483dc1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ab39a4a2c87fd213705a029c369483dc1">OnCutSelection</a> (GtkWidget *w, GtkClipboard *clipboard)</td></tr>
<tr class="memitem:a4a4fe09c47bf82b3360a8a53bc0b2ea3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a4a4fe09c47bf82b3360a8a53bc0b2ea3">OnKeyPress</a> (GtkWidget *w, GdkEventKey *event)</td></tr>
<tr class="memitem:ad54ddc03450f4cdcbcdf39077bfe05ac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ad54ddc03450f4cdcbcdf39077bfe05ac">OnKeyRelease</a> (GtkWidget *w, GdkEventKey *event)</td></tr>
<tr class="memitem:a8fb460ae219241335ee4918451b347c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a8fb460ae219241335ee4918451b347c6">SetTextActive</a> (<a class="el" href="classgccv_1_1Text.html">gccv::Text</a> *item)</td></tr>
<tr class="memitem:a3548f8db81394b51356689b4174c86ab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a3548f8db81394b51356689b4174c86ab">PrepareUnselect</a> ()</td></tr>
<tr class="memitem:ab0d8061373a42dc04a5a9a3519a3e440"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ab0d8061373a42dc04a5a9a3519a3e440">OnReceive</a> (GtkClipboard *clipboard, GtkSelectionData *selection_data)</td></tr>
<tr class="memitem:a42fc5069073b4848310cfabb29567da0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a42fc5069073b4848310cfabb29567da0">OnSelectAll</a> ()</td></tr>
<tr class="memitem:a50e5b0ab04bf7da88acd1322e3ae625c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a50e5b0ab04bf7da88acd1322e3ae625c">IsEmbedded</a> ()</td></tr>
<tr class="memitem:ac089cd74c130af023dbdad7598807ae1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ac089cd74c130af023dbdad7598807ae1">GetNbWidgets</a> ()</td></tr>
<tr class="memitem:ac4f2f471f4ccd2dda42e0c111f9fb47d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ac4f2f471f4ccd2dda42e0c111f9fb47d">ExportImage</a> (std::string const &amp;filename, const char *type, int resolution=-1)</td></tr>
<tr class="memitem:adb2ef7eddd7e2865e389326e77a817f1"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#adb2ef7eddd7e2865e389326e77a817f1">BuildSVG</a> ()</td></tr>
<tr class="memitem:accd2ae9c68828a21359509f0f8da25a8"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#accd2ae9c68828a21359509f0f8da25a8">BuildEPS</a> ()</td></tr>
<tr class="memitem:ae37d1fd9f61a4084d8cc66d5d54530e1"><td class="memItemLeft" align="right" valign="top">GdkPixbuf *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ae37d1fd9f61a4084d8cc66d5d54530e1">BuildPixbuf</a> (int resolution)</td></tr>
<tr class="memitem:ad8ce75938717d14a11b2980467eb6c9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ad8ce75938717d14a11b2980467eb6c9f">EnsureSize</a> ()</td></tr>
<tr class="memitem:a6c81bfc9fd868deff6bae8afcedfb01d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a6c81bfc9fd868deff6bae8afcedfb01d">Zoom</a> (double zoom)</td></tr>
<tr class="memitem:a6ee6887a03f452d2e088f309bb6ed211"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a6ee6887a03f452d2e088f309bb6ed211">ShowCursor</a> (bool show)</td></tr>
<tr class="memitem:a304a00d9f2155863242940bfc47e7d17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a304a00d9f2155863242940bfc47e7d17">UpdateTheme</a> ()</td></tr>
<tr class="memitem:af14bc2c9ee42f3771b0d403e09d46d39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#af14bc2c9ee42f3771b0d403e09d46d39">Render</a> (cairo_t *cr)</td></tr>
<tr class="memitem:a0a6dfe14df653fce5a2d9f09366489d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a0a6dfe14df653fce5a2d9f09366489d7">SetSelectionState</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *object, int state)</td></tr>
<tr class="memitem:a0de9c2556a36015fd6ceeabf5c315757"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a0de9c2556a36015fd6ceeabf5c315757">OnButtonPressed</a> (<a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *client, unsigned button, double x, double y, unsigned state)</td></tr>
<tr class="memitem:a9af01f150186073bfb5e8222639dc9b7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a9af01f150186073bfb5e8222639dc9b7">OnButtonReleased</a> (<a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *client, unsigned button, double x, double y, unsigned state)</td></tr>
<tr class="memitem:a5b87ad01d72b67ba0aa95f6128ecfdc3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a5b87ad01d72b67ba0aa95f6128ecfdc3">OnDrag</a> (<a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *client, double x, double y, unsigned state)</td></tr>
<tr class="memitem:a15b9e94bfa7791478260211c122c75f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a15b9e94bfa7791478260211c122c75f0">OnMotion</a> (<a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *client, double x, double y, unsigned state)</td></tr>
<tr class="memitem:ac34efaed7d917b569564ec0130a4b1eb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ac34efaed7d917b569564ec0130a4b1eb">OnLeaveNotify</a> (unsigned state)</td></tr>
<tr class="memitem:ae34db4f2037d0f7ddaef1777f0b790c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1WidgetData.html">WidgetData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#ae34db4f2037d0f7ddaef1777f0b790c1">GetData</a> ()</td></tr>
<tr class="memitem:a589aa8f2860c94fa536ccd1d05b296ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a589aa8f2860c94fa536ccd1d05b296ef">GetVisibleArea</a> (double &amp;x0, double &amp;y0, double &amp;x1, double &amp;y1)</td></tr>
<tr class="memitem:a3363089d5e64efa1b4dce3e1917e8501"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a3363089d5e64efa1b4dce3e1917e8501">GetBaseLineOffset</a> (void) const </td></tr>
<tr class="memitem:a70569a3fcb225547f3bef99d20dd6f89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Text.html">gccv::Text</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a70569a3fcb225547f3bef99d20dd6f89">GetActiveRichText</a> (void) const </td></tr>
<tr class="memitem:a3aa788b4fd542205c1ec37514bb276d6"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#a3aa788b4fd542205c1ec37514bb276d6">GetCHeight</a> (void) const </td></tr>
<tr class="memitem:aa0fd5299c0c5979d7f1b174627f30a5d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1View.html#aa0fd5299c0c5979d7f1b174627f30a5d">GetHWidth</a> (void) const </td></tr>
<tr class="inherit_header pub_methods_classgccv_1_1Client"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgccv_1_1Client')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classgccv_1_1Client.html">gccv::Client</a></td></tr>
<tr class="memitem:a352d30c4c6963ee2af0a6bf074ef903c inherit pub_methods_classgccv_1_1Client"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Client.html#a352d30c4c6963ee2af0a6bf074ef903c">Client</a> ()</td></tr>
<tr class="memitem:a16b15cc49bfa1ad092e4dda2bb9114e1 inherit pub_methods_classgccv_1_1Client"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Client.html#a16b15cc49bfa1ad092e4dda2bb9114e1">~Client</a> ()</td></tr>
<tr class="memitem:a013c83cef95b8e678fd0f232a7727743 inherit pub_methods_classgccv_1_1Client"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Client.html#a013c83cef95b8e678fd0f232a7727743">GetCanvas</a> (void)</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 pro_attribs_classgccv_1_1Client"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgccv_1_1Client')"><img src="closed.png" alt="-"/>&nbsp;Protected Attributes inherited from <a class="el" href="classgccv_1_1Client.html">gccv::Client</a></td></tr>
<tr class="memitem:a73fba75a18a37113a4f8c8a091c8bde5 inherit pro_attribs_classgccv_1_1Client"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Client.html#a73fba75a18a37113a4f8c8a091c8bde5">m_Canvas</a></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The GChempaint document view. </p>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00061">61</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaae23ce01e8f8439634263c65b7eac76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcp::View::View </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcp_1_1Document.html">Document</a> *&#160;</td>
          <td class="paramname"><em>pDoc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>Embedded</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">pDoc</td><td>the GchemPaint document for the new view. </td></tr>
    <tr><td class="paramname">Embedded</td><td>whether the document is embedded in another application or is standalone.</td></tr>
  </table>
  </dd>
</dl>
<p>Constructs the document view. </p>

</div>
</div>
<a class="anchor" id="afe0b092caa73069bd99a3a37f5b2496c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual gcp::View::~View </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The destructor. </p>

</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a2c65002bca951365575d1ee7fb92fce0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::AddObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *&#160;</td>
          <td class="paramname"><em>pObject</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">pObject</td><td>the object to add.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds the object to the canvas. </p>

</div>
</div>
<a class="anchor" id="accd2ae9c68828a21359509f0f8da25a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* gcp::View::BuildEPS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the eps output as a newly allocated string. Call g_free when done with it. </dd></dl>

</div>
</div>
<a class="anchor" id="ae37d1fd9f61a4084d8cc66d5d54530e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbuf* gcp::View::BuildPixbuf </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>resolution</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">resolution</td><td>the resolution for the new image.</td></tr>
  </table>
  </dd>
</dl>
<p>Builds a new image with the given resolution in ppi. The size is evaluated using the guessed screen resolution. </p>
<dl class="section return"><dt>Returns</dt><dd>the new pixbuf. </dd></dl>

</div>
</div>
<a class="anchor" id="adb2ef7eddd7e2865e389326e77a817f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* gcp::View::BuildSVG </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the svg output as a newly allocated string. Call g_free when done with it. </dd></dl>

</div>
</div>
<a class="anchor" id="a2deb8aa87d6f729779d039e30f0758f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* gcp::View::CreateNewWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new canvas widget for the view.</p>
<dl class="section return"><dt>Returns</dt><dd>the new widget. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8ce75938717d14a11b2980467eb6c9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::EnsureSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the framework to ensure that the view size is enough large to contain all objects. </p>

</div>
</div>
<a class="anchor" id="ac4f2f471f4ccd2dda42e0c111f9fb47d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::ExportImage </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">const char *&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>resolution</em> = <code>-1</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 file name to use for the export. </td></tr>
    <tr><td class="paramname">type</td><td>a string representing the image type as used by the GdkPixbuf library. Other types supported are "svg", "ps", "pdf", and "eps". </td></tr>
    <tr><td class="paramname">resolution</td><td>the image resolution to use for bitmaps.</td></tr>
  </table>
  </dd>
</dl>
<p>Exports the current document to an image. The <em>resolution</em> parameter is significative only for bitmap images; if it is not given, of if negative, 1 will be used which will result as a one to one pixel export. </p>

</div>
</div>
<a class="anchor" id="a70569a3fcb225547f3bef99d20dd6f89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::View::GetActiveRichText </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>the currently edited text item if any, or NULL. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00331">331</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3363089d5e64efa1b4dce3e1917e8501"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::View::GetBaseLineOffset </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>the vertical offset for algnment of an atomic symbol. This value is half the height of the "C" character. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00327">327</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3aa788b4fd542205c1ec37514bb276d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::View::GetCHeight </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>the half height of a carbon atom symbol in the current theme. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00335">335</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae34db4f2037d0f7ddaef1777f0b790c1"></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_1WidgetData.html">WidgetData</a>* gcp::View::GetData </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 <a class="el" href="classgcp_1_1WidgetData.html">WidgetData</a> associated with the <a class="el" href="classgcp_1_1View.html">View</a> widget. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00294">294</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a637eda33cfc3af52f101631741f79288"></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">Document</a>* gcp::View::GetDoc </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 document associated with the view. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00087">87</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a40431bf8887775d53a025267c0b557de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double gcp::View::GetFontHeight </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 height of the font used to display atomic symbols. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00129">129</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0be9a4a197580fd79ed33149dbcd7661"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gchar* gcp::View::GetFontName </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 name of the font used to display atomic symbols. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00133">133</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa0fd5299c0c5979d7f1b174627f30a5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gcp::View::GetHWidth </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>the half width of a hydrogen atom symbol in the current theme. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00339">339</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac089cd74c130af023dbdad7598807ae1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gcp::View::GetNbWidgets </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 existing canvases for this view. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00221">221</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a472c02862144098350433be70472b83d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoFontDescription* gcp::View::GetPangoFontDesc </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 description of the font used to display atomic symbols. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00141">141</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="abce9cce2d8d83d987f75a8ddb9b189d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoFontDescription* gcp::View::GetPangoSmallFontDesc </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 description of the font used to display stoichiometry indices and charges. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00145">145</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a886f738e38cd869fed968ded7f2ec490"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gchar* gcp::View::GetSmallFontName </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 name of the font used to display stoichiometry indices and charges. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00137">137</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a589aa8f2860c94fa536ccd1d05b296ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::GetVisibleArea </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</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">x0</td><td>where to store the left horizontal coordinate of the visible area. </td></tr>
    <tr><td class="paramname">y0</td><td>where to store the top vertical coordinate of the visible area. </td></tr>
    <tr><td class="paramname">x1</td><td>where to store the right horizontal coordinate of the visible area. </td></tr>
    <tr><td class="paramname">y1</td><td>where to store the bottom vertical coordinate of the visible area.</td></tr>
  </table>
  </dd>
</dl>
<p>Gets the visible area for the view. </p>

</div>
</div>
<a class="anchor" id="a703d205b2d4305aa725d6450dce9579c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* gcp::View::GetWidget </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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 canvas widget used for the view. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00083">83</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a411739b183ccb77274c53390e5d68065"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double gcp::View::GetZoomFactor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the current zoom factor. </dd></dl>

</div>
</div>
<a class="anchor" id="a50e5b0ab04bf7da88acd1322e3ae625c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::IsEmbedded </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 the view is embedded in another document view. </dd></dl>

<p>Definition at line <a class="el" href="gcp_2view_8h_source.html#l00217">217</a> of file <a class="el" href="gcp_2view_8h_source.html">gcp/view.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0de9c2556a36015fd6ceeabf5c315757"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnButtonPressed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>state</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the ItemClient for the Item at the event position if any. </td></tr>
    <tr><td class="paramname">button</td><td>the mouse button. </td></tr>
    <tr><td class="paramname">x</td><td>horizontal event position. </td></tr>
    <tr><td class="paramname">y</td><td>vertical event position. </td></tr>
    <tr><td class="paramname">state</td><td>the GdkModifierType value for the event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called when a mouse button is pressed. <em>client</em> is NULL when there is no Item at the event position, or the Item does not have an associated ItemClient. </p>
<dl class="section return"><dt>Returns</dt><dd>true to stop other handlers from being invoked for the event. false to propagate the event further. </dd></dl>

<p>Reimplemented from <a class="el" href="classgccv_1_1Client.html#ac77f2e2970939c62b11d37a39275dc1d">gccv::Client</a>.</p>

</div>
</div>
<a class="anchor" id="a9af01f150186073bfb5e8222639dc9b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnButtonReleased </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>state</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the ItemClient for the Item at the event position if any. </td></tr>
    <tr><td class="paramname">button</td><td>the mouse button. </td></tr>
    <tr><td class="paramname">x</td><td>horizontal event position. </td></tr>
    <tr><td class="paramname">y</td><td>vertical event position. </td></tr>
    <tr><td class="paramname">state</td><td>the GdkModifierType value for the event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called when a mouse button is released. <em>client</em> is NULL when there is no Item at the event position, or the Item does not have an associated ItemClient. </p>
<dl class="section return"><dt>Returns</dt><dd>true to stop other handlers from being invoked for the event. false to propagate the event further. </dd></dl>

<p>Reimplemented from <a class="el" href="classgccv_1_1Client.html#a8faf7ecf3ad36cabbbdad051f622c334">gccv::Client</a>.</p>

</div>
</div>
<a class="anchor" id="ac0509dc4ae1544189c141d5ef8e6dce5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnCopySelection </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkClipboard *&#160;</td>
          <td class="paramname"><em>clipboard</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">w</td><td>the active document widget. </td></tr>
    <tr><td class="paramname">clipboard</td><td>a GtkClipboard.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework to copy the selection. </p>

</div>
</div>
<a class="anchor" id="ab39a4a2c87fd213705a029c369483dc1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnCutSelection </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkClipboard *&#160;</td>
          <td class="paramname"><em>clipboard</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">w</td><td>the active document widget. </td></tr>
    <tr><td class="paramname">clipboard</td><td>a GtkClipboard.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework to copy and delete the selection. </p>

</div>
</div>
<a class="anchor" id="ae2d10751e8b37401479e83d1e81b4e57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnDeleteSelection </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</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">w</td><td>the active document widget.</td></tr>
  </table>
  </dd>
</dl>
<p>Removes all objects in the widget. </p>

</div>
</div>
<a class="anchor" id="a51f10d985729b3852371c123482ad512"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnDestroy </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>widget</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">widget</td><td>the destroyed widget.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework when a widget is destroyed. </p>

</div>
</div>
<a class="anchor" id="a5b87ad01d72b67ba0aa95f6128ecfdc3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnDrag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>state</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the ItemClient for the Item at the event position if any. </td></tr>
    <tr><td class="paramname">x</td><td>horizontal event position. </td></tr>
    <tr><td class="paramname">y</td><td>vertical event position. </td></tr>
    <tr><td class="paramname">state</td><td>the GdkModifierType value for the event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called when the mouse moves over the canvas, with at least one button pressed. <em>client</em> is NULL when there is no Item at the event position, or the Item does not have an associated ItemClient. </p>
<dl class="section return"><dt>Returns</dt><dd>true to stop other handlers from being invoked for the event. false to propagate the event further. </dd></dl>

<p>Reimplemented from <a class="el" href="classgccv_1_1Client.html#ac59752e837c04e06d85b04c7b96cc184">gccv::Client</a>.</p>

</div>
</div>
<a class="anchor" id="a4a4fe09c47bf82b3360a8a53bc0b2ea3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnKeyPress </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GdkEventKey *&#160;</td>
          <td class="paramname"><em>event</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">w</td><td>the widget which received the event. </td></tr>
    <tr><td class="paramname">event</td><td>the current event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework when a key has been pressed on the keyboard. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the key was significant, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ad54ddc03450f4cdcbcdf39077bfe05ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnKeyRelease </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GdkEventKey *&#160;</td>
          <td class="paramname"><em>event</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">w</td><td>the widget which received the event. </td></tr>
    <tr><td class="paramname">event</td><td>the current event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework when a key has been released on the keyboard. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the key was significant, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ac34efaed7d917b569564ec0130a4b1eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnLeaveNotify </td>
          <td>(</td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>state</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">state</td><td>the GdkModifierType value for the event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called when the mouse leaves the Canvas. </p>
<dl class="section return"><dt>Returns</dt><dd>true to stop other handlers from being invoked for the event. false to propagate the event further. </dd></dl>

<p>Reimplemented from <a class="el" href="classgccv_1_1Client.html#a8943ebe7e04648f96181b2420d7d9ca5">gccv::Client</a>.</p>

</div>
</div>
<a class="anchor" id="a15b9e94bfa7791478260211c122c75f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::OnMotion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">gccv::ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>state</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the ItemClient for the Item at the event position if any. </td></tr>
    <tr><td class="paramname">x</td><td>horizontal event position. </td></tr>
    <tr><td class="paramname">y</td><td>vertical event position. </td></tr>
    <tr><td class="paramname">state</td><td>the GdkModifierType value for the event.</td></tr>
  </table>
  </dd>
</dl>
<p>Called when the mouse moves over the canvas, with no button pressed. <em>client</em> is NULL when there is no Item at the event position, or the Item does not have an associated ItemClient. @return true to stop other handlers from being invoked for the event. false to propagate the event further. </p>

<p>Reimplemented from <a class="el" href="classgccv_1_1Client.html#a97df2f8eea13149b03c9ca383014bf15">gccv::Client</a>.</p>

</div>
</div>
<a class="anchor" id="a7fb34c2757328bf8990838af763ac149"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnPasteSelection </td>
          <td>(</td>
          <td class="paramtype">GtkWidget *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GtkClipboard *&#160;</td>
          <td class="paramname"><em>clipboard</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">w</td><td>the active document widget. </td></tr>
    <tr><td class="paramname">clipboard</td><td>a GtkClipboard.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework to paste clipboard contents. </p>

</div>
</div>
<a class="anchor" id="ab0d8061373a42dc04a5a9a3519a3e440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnReceive </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>the clipboard used. </td></tr>
    <tr><td class="paramname">selection_data</td><td>the data to paste.</td></tr>
  </table>
  </dd>
</dl>
<p>Called by the framework to effectively paste data in the document. </p>

</div>
</div>
<a class="anchor" id="a42fc5069073b4848310cfabb29567da0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::OnSelectAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the framework to select everything in the document. </p>

</div>
</div>
<a class="anchor" id="a3548f8db81394b51356689b4174c86ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gcp::View::PrepareUnselect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the framework when the active window changes to stop current edition and inhibit timer events.</p>
<dl class="section return"><dt>Returns</dt><dd>true if the change is possible, false to abort it. </dd></dl>

</div>
</div>
<a class="anchor" id="a909365307b2e7d0e20fb426425d4d955"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::Remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *&#160;</td>
          <td class="paramname"><em>pObject</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">pObject</td><td>the object to remove.</td></tr>
  </table>
  </dd>
</dl>
<p>Removes the object from the view and destroys the items representing it. </p>

</div>
</div>
<a class="anchor" id="af14bc2c9ee42f3771b0d403e09d46d39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::Render </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&#160;</td>
          <td class="paramname"><em>cr</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">cr</td><td>the cairo_t to which render.</td></tr>
  </table>
  </dd>
</dl>
<p>Renders the document using cairo. </p>

</div>
</div>
<a class="anchor" id="a0a6dfe14df653fce5a2d9f09366489d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::SetSelectionState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>state</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">object</td><td>the object which seection state should be changed. </td></tr>
    <tr><td class="paramname">state</td><td>the new selection state.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the selection state of <em>object</em> if it owns an item and of all its descendents. </p>

</div>
</div>
<a class="anchor" id="a8fb460ae219241335ee4918451b347c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::SetTextActive </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Text.html">gccv::Text</a> *&#160;</td>
          <td class="paramname"><em>item</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">item</td><td>a text item or NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the currently edited text item. <em>item</em> should be NULL to tell the view that no text edition is currently taking place. </p>

</div>
</div>
<a class="anchor" id="a6ee6887a03f452d2e088f309bb6ed211"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::ShowCursor </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</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">show</td><td>whether to show the cursor or not.</td></tr>
  </table>
  </dd>
</dl>
<p>Shows or hides the cursor in the currently edited text item if any. </p>

</div>
</div>
<a class="anchor" id="a8e159b3a1b48d75ff91ba8b1c65b9df4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::Update </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *&#160;</td>
          <td class="paramname"><em>pObject</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">pObject</td><td>the object to update.</td></tr>
  </table>
  </dd>
</dl>
<p>Updates the object in the canvas. </p>

</div>
</div>
<a class="anchor" id="a63cb9463817e1910876f58c89054bb25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::UpdateFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Updates fonts descriptions after a theme change. </p>

</div>
</div>
<a class="anchor" id="a304a00d9f2155863242940bfc47e7d17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::UpdateTheme </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the framework to update the default font size after a theme change. </p>

</div>
</div>
<a class="anchor" id="a6c81bfc9fd868deff6bae8afcedfb01d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcp::View::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. </p>

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