<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>The Gnome Chemistry Utils: gcp::ReactionArrow Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacegcp.html">gcp</a>::<a class="el" href="classgcp_1_1ReactionArrow.html">ReactionArrow</a> </div> </div> <div class="contents"> <h1>gcp::ReactionArrow Class Reference</h1><!-- doxytag: class="gcp::ReactionArrow" --><!-- doxytag: inherits="gcp::Arrow" --> <p><code>#include <<a class="el" href="reaction-arrow_8h_source.html">gcp/reaction-arrow.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gcp::ReactionArrow:</div> <div class="dynsection"> <div class="center"> <img src="classgcp_1_1ReactionArrow.gif" usemap="#gcp::ReactionArrow_map" alt=""/> <map id="gcp::ReactionArrow_map" name="gcp::ReactionArrow_map"> <area href="classgcp_1_1Arrow.html" alt="gcp::Arrow" shape="rect" coords="0,56,123,80"/> <area href="classgcu_1_1Object.html" alt="gcu::Object" shape="rect" coords="0,0,123,24"/> </map> </div> </div> <p><a href="classgcp_1_1ReactionArrow-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#ae5188fc90b8e3fd5d26d8e49a44b0f86">~ReactionArrow</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">xmlNodePtr </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a4557c694405c01413e716193eed7d479">Save</a> (xmlDocPtr xml) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a4074632f7c641dab5d685e828767ba92">Load</a> (xmlNodePtr node)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#af432b166b5de38b1352eb2fefb5120cf">Add</a> (GtkWidget *w) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a75893f66876f4134dace2885a735659d">Update</a> (GtkWidget *w) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#aea7ef6c59609c102c916dc49ed9a7fc3">SetStartStep</a> (<a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> *Step)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a3bfca96b0f52f258ea6d7534c87f188a">GetStartStep</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a83de4f95e00688e70714b5bb21ea36de">SetEndStep</a> (<a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> *Step)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#ae656acfedf424f040967ab6911cbbda6">GetEndStep</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a4ac5647da6dce18e3269bf229c661493">RemoveStep</a> (<a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> *Step)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#acabe2e2f2c055408293c428090015140">BuildContextualMenu</a> (GtkUIManager *UIManager, <a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *object, double x, double y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#ab89ac83784668952df0bcf724bf4958f">Move</a> (double x, double y, double z=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a8ba555ed6266526c58770ef820894e2d">SetSelected</a> (GtkWidget *w, int state)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a5daa44d88cacf9db00588aabddc58ee5">AddProp</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *object)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a8b3b9b2f7b853fc2c0e39adb9e62e9f9">PositionChild</a> (<a class="el" href="classgcp_1_1ReactionProp.html">ReactionProp</a> *prop)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a61d2424b5fbcb064079a827f51af8dc0">OnSignal</a> (<a class="el" href="namespacegcu.html#af13348b065987fa4ca74ca0fb1ffa48e">gcu::SignalId</a> Signal, <a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *Child)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1ReactionArrow.html#a08270f1482a01bd597d5c0ee9f10d12a">SetProperty</a> (unsigned property, char const *value)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classgcp_1_1Arrow.html">Arrow</a> class for arrows used in chemical reactions. </p> <p>Definition at line <a class="el" href="reaction-arrow_8h_source.html#l00038">38</a> of file <a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ae5188fc90b8e3fd5d26d8e49a44b0f86"></a><!-- doxytag: member="gcp::ReactionArrow::~ReactionArrow" ref="ae5188fc90b8e3fd5d26d8e49a44b0f86" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual gcp::ReactionArrow::~ReactionArrow </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af432b166b5de38b1352eb2fefb5120cf"></a><!-- doxytag: member="gcp::ReactionArrow::Add" ref="af432b166b5de38b1352eb2fefb5120cf" args="(GtkWidget *w) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::Add </td> <td>(</td> <td class="paramtype">GtkWidget * </td> <td class="paramname"> <em>w</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>the GtkWidget inside which the arrow will be displayed.</td></tr> </table> </dd> </dl> <p>Used to add a representation of the arrow in the widget. </p> <p>Reimplemented from <a class="el" href="classgcu_1_1Object.html#afcd1e6f8bc15be563bd33429757d9d21">gcu::Object</a>.</p> </div> </div> <a class="anchor" id="a5daa44d88cacf9db00588aabddc58ee5"></a><!-- doxytag: member="gcp::ReactionArrow::AddProp" ref="a5daa44d88cacf9db00588aabddc58ee5" args="(gcu::Object *object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::AddProp </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> * </td> <td class="paramname"> <em>object</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>the object to attach to the arrow.</td></tr> </table> </dd> </dl> <p>Attach an object to the arrow and pops up the reaction property dialog box. </p> </div> </div> <a class="anchor" id="acabe2e2f2c055408293c428090015140"></a><!-- doxytag: member="gcp::ReactionArrow::BuildContextualMenu" ref="acabe2e2f2c055408293c428090015140" args="(GtkUIManager *UIManager, gcu::Object *object, double x, double y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gcp::ReactionArrow::BuildContextualMenu </td> <td>(</td> <td class="paramtype">GtkUIManager * </td> <td class="paramname"> <em>UIManager</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>UIManager</em> </td><td>the GtkUIManager to populate. </td></tr> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>the Object on which occured the mouse click. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>x coordinate of the mouse click. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>y coordinate of the mouse click.</td></tr> </table> </dd> </dl> <p>This method is called to build a contextual menu for the arrow. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if something is added to the UIManager, false otherwise. </dd></dl> </div> </div> <a class="anchor" id="ae656acfedf424f040967ab6911cbbda6"></a><!-- doxytag: member="gcp::ReactionArrow::GetEndStep" ref="ae656acfedf424f040967ab6911cbbda6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a>* gcp::ReactionArrow::GetEndStep </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the final reaction step. </dd></dl> <p>Definition at line <a class="el" href="reaction-arrow_8h_source.html#l00094">94</a> of file <a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a>.</p> </div> </div> <a class="anchor" id="a3bfca96b0f52f258ea6d7534c87f188a"></a><!-- doxytag: member="gcp::ReactionArrow::GetStartStep" ref="a3bfca96b0f52f258ea6d7534c87f188a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a>* gcp::ReactionArrow::GetStartStep </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the initial reaction step. </dd></dl> <p>Definition at line <a class="el" href="reaction-arrow_8h_source.html#l00084">84</a> of file <a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a>.</p> </div> </div> <a class="anchor" id="a4074632f7c641dab5d685e828767ba92"></a><!-- doxytag: member="gcp::ReactionArrow::Load" ref="a4074632f7c641dab5d685e828767ba92" args="(xmlNodePtr node)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gcp::ReactionArrow::Load </td> <td>(</td> <td class="paramtype">xmlNodePtr </td> <td class="paramname"> <em>node</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>node,:</em> </td><td>a pointer to the xmlNode containing the serialized arrow.</td></tr> </table> </dd> </dl> <p>Used to load an arrow in memory. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true on succes, false otherwise. </dd></dl> <p>Reimplemented from <a class="el" href="classgcp_1_1Arrow.html#a35982ed701601f54af6e6632229b2216">gcp::Arrow</a>.</p> </div> </div> <a class="anchor" id="ab89ac83784668952df0bcf724bf4958f"></a><!-- doxytag: member="gcp::ReactionArrow::Move" ref="ab89ac83784668952df0bcf724bf4958f" args="(double x, double y, double z=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::Move </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>z</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>the x component of the transation vector. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>the y component of the transation vector. </td></tr> <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>the z component of the transation vector.</td></tr> </table> </dd> </dl> <p>Used to move a reaction arrow. It will also move the objects attached to the arrow if any. </p> <p>Reimplemented from <a class="el" href="classgcp_1_1Arrow.html#a5af4f736d76d54237efcf41c2e1ce3e7">gcp::Arrow</a>.</p> </div> </div> <a class="anchor" id="a61d2424b5fbcb064079a827f51af8dc0"></a><!-- doxytag: member="gcp::ReactionArrow::OnSignal" ref="a61d2424b5fbcb064079a827f51af8dc0" args="(gcu::SignalId Signal, gcu::Object *Child)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gcp::ReactionArrow::OnSignal </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacegcu.html#af13348b065987fa4ca74ca0fb1ffa48e">gcu::SignalId</a> </td> <td class="paramname"> <em>Signal</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classgcu_1_1Object.html">gcu::Object</a> * </td> <td class="paramname"> <em>Child</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Signal</em> </td><td>the appropriate SignalId </td></tr> <tr><td valign="top"></td><td valign="top"><em>Child</em> </td><td>the child which emitted the signal or NULL</td></tr> </table> </dd> </dl> <p>This function is called by the framework when a signal has been emitted for the arrow, such as when an attached object size changed. It should not be called by a program; call Object::EmitSignal instead.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the signal should be propagated to the parent, false otherwise. </dd></dl> </div> </div> <a class="anchor" id="a8b3b9b2f7b853fc2c0e39adb9e62e9f9"></a><!-- doxytag: member="gcp::ReactionArrow::PositionChild" ref="a8b3b9b2f7b853fc2c0e39adb9e62e9f9" args="(ReactionProp *prop)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::PositionChild </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1ReactionProp.html">ReactionProp</a> * </td> <td class="paramname"> <em>prop</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>prop</em> </td><td>the attached property to position.</td></tr> </table> </dd> </dl> <p>Position an object at the right place near the arrow. </p> </div> </div> <a class="anchor" id="a4ac5647da6dce18e3269bf229c661493"></a><!-- doxytag: member="gcp::ReactionArrow::RemoveStep" ref="a4ac5647da6dce18e3269bf229c661493" args="(ReactionStep *Step)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::RemoveStep </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> * </td> <td class="paramname"> <em>Step</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Step</em> </td><td>the reaction step to remove from the reaction</td></tr> </table> </dd> </dl> <p>Removes the reaction step, which might be either the initial or final step. If it not one of these, nothing is done. </p> </div> </div> <a class="anchor" id="a4557c694405c01413e716193eed7d479"></a><!-- doxytag: member="gcp::ReactionArrow::Save" ref="a4557c694405c01413e716193eed7d479" args="(xmlDocPtr xml) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xmlNodePtr gcp::ReactionArrow::Save </td> <td>(</td> <td class="paramtype">xmlDocPtr </td> <td class="paramname"> <em>xml</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>xml</em> </td><td>the xmlDoc used to save the document.</td></tr> </table> </dd> </dl> <p>Used to save the arrow to the xmlDoc. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the xmlNode containing the serialized arrow. </dd></dl> <p>Reimplemented from <a class="el" href="classgcu_1_1Object.html#aad462441e79fbd93e158f8294a198d11">gcu::Object</a>.</p> </div> </div> <a class="anchor" id="a83de4f95e00688e70714b5bb21ea36de"></a><!-- doxytag: member="gcp::ReactionArrow::SetEndStep" ref="a83de4f95e00688e70714b5bb21ea36de" args="(ReactionStep *Step)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::SetEndStep </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> * </td> <td class="paramname"> <em>Step</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Step</em> </td><td>the reaction step after the reaction</td></tr> </table> </dd> </dl> <p>Sets the final reaction step. </p> <p>Definition at line <a class="el" href="reaction-arrow_8h_source.html#l00090">90</a> of file <a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a>.</p> </div> </div> <a class="anchor" id="a08270f1482a01bd597d5c0ee9f10d12a"></a><!-- doxytag: member="gcp::ReactionArrow::SetProperty" ref="a08270f1482a01bd597d5c0ee9f10d12a" args="(unsigned property, char const *value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool gcp::ReactionArrow::SetProperty </td> <td>(</td> <td class="paramtype">unsigned </td> <td class="paramname"> <em>property</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char const * </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>property</em> </td><td>the property id as defined in <a class="el" href="objprops_8h.html">objprops.h</a> </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the property value as a string</td></tr> </table> </dd> </dl> <p>Used when loading to set common properties to arrows. Only one property is currently supported: <a class="el" href="objprops_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba6add80f2b8bcf4394736b4839e7f3b00">gcu::GCU_PROP_REACTION_ARROW_TYPE</a>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if the property could be set, or if the property is not relevant, false otherwise. </dd></dl> <p>Reimplemented from <a class="el" href="classgcp_1_1Arrow.html#a3ffe17fc0cfc7be493749c67d07c2302">gcp::Arrow</a>.</p> </div> </div> <a class="anchor" id="a8ba555ed6266526c58770ef820894e2d"></a><!-- doxytag: member="gcp::ReactionArrow::SetSelected" ref="a8ba555ed6266526c58770ef820894e2d" args="(GtkWidget *w, int state)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::SetSelected </td> <td>(</td> <td class="paramtype">GtkWidget * </td> <td class="paramname"> <em>w</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>state</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>w,:</em> </td><td>the GtkWidget inside which the arrow is displayed. </td></tr> <tr><td valign="top"></td><td valign="top"><em>state,:</em> </td><td>the selection state of the arrow.</td></tr> </table> </dd> </dl> <p>Used to set the selection state of the arrow inside the widget. The values of state might be <a class="el" href="namespacegcp.html#a2873f45c769a642340cfd80eff3dde74abd6a663c786e2d2b135a74d52f0cd552">gcp::SelStateUnselected</a>, <a class="el" href="namespacegcp.html#a2873f45c769a642340cfd80eff3dde74a94b317915b52f90cbc98b15a577b25d8">gcp::SelStateSelected</a>, <a class="el" href="namespacegcp.html#a2873f45c769a642340cfd80eff3dde74adcae1871fb81a60e980331b689fe3ce0">gcp::SelStateUpdating</a>, or <a class="el" href="namespacegcp.html#a2873f45c769a642340cfd80eff3dde74a2d4e3b5f28ae0af00b9381c2548dea00">gcp::SelStateErasing</a>. Children will be selected too. </p> <p>Reimplemented from <a class="el" href="classgcp_1_1Arrow.html#acb5e782f942a5d5f318cbf2d0d2acfea">gcp::Arrow</a>.</p> </div> </div> <a class="anchor" id="aea7ef6c59609c102c916dc49ed9a7fc3"></a><!-- doxytag: member="gcp::ReactionArrow::SetStartStep" ref="aea7ef6c59609c102c916dc49ed9a7fc3" args="(ReactionStep *Step)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::SetStartStep </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1ReactionStep.html">ReactionStep</a> * </td> <td class="paramname"> <em>Step</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Step</em> </td><td>the reaction step before the reaction</td></tr> </table> </dd> </dl> <p>Sets the initial reaction step. </p> <p>Definition at line <a class="el" href="reaction-arrow_8h_source.html#l00080">80</a> of file <a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a>.</p> </div> </div> <a class="anchor" id="a75893f66876f4134dace2885a735659d"></a><!-- doxytag: member="gcp::ReactionArrow::Update" ref="a75893f66876f4134dace2885a735659d" args="(GtkWidget *w) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::ReactionArrow::Update </td> <td>(</td> <td class="paramtype">GtkWidget * </td> <td class="paramname"> <em>w</em></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>the GtkWidget inside which the arrow is displayed.</td></tr> </table> </dd> </dl> <p>Used to update the representation of the arrow in the widget. </p> <p>Reimplemented from <a class="el" href="classgcu_1_1Object.html#af2fffc10644e8cb8a18da68c8e18e24c">gcu::Object</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="reaction-arrow_8h_source.html">reaction-arrow.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:54 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>