Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 54

gtkmm2.4-doc-2.20.3-1mdv2010.1.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"/>
<title>gtkmm: Atk::RelationSet 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <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 class="navpath"><a class="el" href="namespaceAtk.html">Atk</a>::<a class="el" href="classAtk_1_1RelationSet.html">RelationSet</a>
  </div>
</div>
<div class="contents">
<h1>Atk::RelationSet Class Reference</h1><!-- doxytag: class="Atk::RelationSet" --><!-- doxytag: inherits="Glib::Object" -->
<p>A set of Atk::Relations, normally the set of AtkRelations which an <a class="el" href="classAtk_1_1Object.html" title="The base object class for the Accessibility Toolkit API.">Atk::Object</a> has. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Atk::RelationSet:</div>
<div class="dynsection">
<div class="center"><img src="classAtk_1_1RelationSet__coll__graph.png" border="0" usemap="#Atk_1_1RelationSet_coll__map" alt="Collaboration graph"/></div>
<map name="Atk_1_1RelationSet_coll__map" id="Atk_1_1RelationSet_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classAtk_1_1RelationSet-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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a090f9e7b0e9dc94165251fce5b72d6f4">~RelationSet</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">AtkRelationSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a0458eadd98421354d95aa6b5082ff860">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0458eadd98421354d95aa6b5082ff860"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const AtkRelationSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a2272065cbea31e7ba19c9053be0b123c">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2272065cbea31e7ba19c9053be0b123c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">AtkRelationSet*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a4c7b79d440b461e6e425bf829a25f5c5">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a4c7b79d440b461e6e425bf829a25f5c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a5d8cb7b1214d468fd53ff44317947662">set_contains</a> (<a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a> relationship)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the relation set contains a relation that matches the specified type. <a href="#a5d8cb7b1214d468fd53ff44317947662"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a27c554ac47fd8e328c85521d5ef3d91b">set_remove</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&amp; relation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a relation from the relation set. <a href="#a27c554ac47fd8e328c85521d5ef3d91b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a6a80557979af5ef7babed4217b6b994d">set_add</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&amp; relation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new relation to the current relation set if it is not already present. <a href="#a6a80557979af5ef7babed4217b6b994d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#aae9807b3bc8a2fccf98a9bac28071121">get_n_relations</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of relations in a relation set. <a href="#aae9807b3bc8a2fccf98a9bac28071121"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a538bd38d9d4e663cdfddbdaeca539a1d">get_relation</a> (gint i)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the relation at the specified position in the relation set. <a href="#a538bd38d9d4e663cdfddbdaeca539a1d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a65328bc128f6fbd2105bfa7633db55a5">get_relation</a> (<a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a> relationship)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a relation that matches the specified type. <a href="#a65328bc128f6fbd2105bfa7633db55a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a437be8c938f2229ea22f89b75e12e725">add_relation_by_type</a> (<a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a> relationship, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Object.html">Atk::Object</a> &gt;&amp; target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. <a href="#a437be8c938f2229ea22f89b75e12e725"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1RelationSet.html">RelationSet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#aced8272a8083a745b6f6eedfa47a154b">create</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a7d7f55467656bbe4681eb2c13b124b8b">RelationSet</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1RelationSet.html">Atk::RelationSet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1RelationSet.html#a5f5c94267804b02ea43df30cf278716a">wrap</a> (AtkRelationSet* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5f5c94267804b02ea43df30cf278716a"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A set of Atk::Relations, normally the set of AtkRelations which an <a class="el" href="classAtk_1_1Object.html" title="The base object class for the Accessibility Toolkit API.">Atk::Object</a> has. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a090f9e7b0e9dc94165251fce5b72d6f4"></a><!-- doxytag: member="Atk::RelationSet::~RelationSet" ref="a090f9e7b0e9dc94165251fce5b72d6f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Atk::RelationSet::~RelationSet </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7d7f55467656bbe4681eb2c13b124b8b"></a><!-- doxytag: member="Atk::RelationSet::RelationSet" ref="a7d7f55467656bbe4681eb2c13b124b8b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Atk::RelationSet::RelationSet </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a437be8c938f2229ea22f89b75e12e725"></a><!-- doxytag: member="Atk::RelationSet::add_relation_by_type" ref="a437be8c938f2229ea22f89b75e12e725" args="(RelationType relationship, const Glib::RefPtr&lt; Atk::Object &gt; &amp;target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Atk::RelationSet::add_relation_by_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a>&#160;</td>
          <td class="paramname"> <em>relationship</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Object.html">Atk::Object</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>target</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a new relation of the specified type with the specified target to the current relation set if the relation set does not contain a relation of that type. </p>
<p>If it is does contain a relation of that typea the target is added to the relation.</p>
<dl class="since_1_9"><dt><b><a class="el" href="since_1_9.html#_since_1_9000002">Since gtkmm 1.9:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>relationship</em>&#160;</td><td>An <a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">Atk::RelationType</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>target</em>&#160;</td><td>An <a class="el" href="classAtk_1_1Object.html" title="The base object class for the Accessibility Toolkit API.">Atk::Object</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aced8272a8083a745b6f6eedfa47a154b"></a><!-- doxytag: member="Atk::RelationSet::create" ref="aced8272a8083a745b6f6eedfa47a154b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classAtk_1_1RelationSet.html">RelationSet</a>&gt; Atk::RelationSet::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aae9807b3bc8a2fccf98a9bac28071121"></a><!-- doxytag: member="Atk::RelationSet::get_n_relations" ref="aae9807b3bc8a2fccf98a9bac28071121" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Atk::RelationSet::get_n_relations </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of relations in a relation set. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An integer representing the number of relations in the set. </dd></dl>

</div>
</div>
<a class="anchor" id="a65328bc128f6fbd2105bfa7633db55a5"></a><!-- doxytag: member="Atk::RelationSet::get_relation" ref="a65328bc128f6fbd2105bfa7633db55a5" args="(RelationType relationship)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classAtk_1_1Relation.html">Relation</a>&gt; Atk::RelationSet::get_relation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a>&#160;</td>
          <td class="paramname"> <em>relationship</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finds a relation that matches the specified type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>relationship</em>&#160;</td><td>An <a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">Atk::RelationType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An <a class="el" href="classAtk_1_1Relation.html" title="An Atk::Relation describes a relation between an object and one or more other objects...">Atk::Relation</a>, which is a relation matching the specified type. </dd></dl>

</div>
</div>
<a class="anchor" id="a538bd38d9d4e663cdfddbdaeca539a1d"></a><!-- doxytag: member="Atk::RelationSet::get_relation" ref="a538bd38d9d4e663cdfddbdaeca539a1d" args="(gint i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classAtk_1_1Relation.html">Relation</a>&gt; Atk::RelationSet::get_relation </td>
          <td>(</td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the relation at the specified position in the relation set. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&#160;</td><td>A <code>int</code> representing a position in the set, starting from 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classAtk_1_1Relation.html" title="An Atk::Relation describes a relation between an object and one or more other objects...">Atk::Relation</a>, which is the relation at position i in the set. </dd></dl>

</div>
</div>
<a class="anchor" id="a2272065cbea31e7ba19c9053be0b123c"></a><!-- doxytag: member="Atk::RelationSet::gobj" ref="a2272065cbea31e7ba19c9053be0b123c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const AtkRelationSet* Atk::RelationSet::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a0458eadd98421354d95aa6b5082ff860"></a><!-- doxytag: member="Atk::RelationSet::gobj" ref="a0458eadd98421354d95aa6b5082ff860" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AtkRelationSet* Atk::RelationSet::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a4c7b79d440b461e6e425bf829a25f5c5"></a><!-- doxytag: member="Atk::RelationSet::gobj_copy" ref="a4c7b79d440b461e6e425bf829a25f5c5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AtkRelationSet* Atk::RelationSet::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a6a80557979af5ef7babed4217b6b994d"></a><!-- doxytag: member="Atk::RelationSet::set_add" ref="a6a80557979af5ef7babed4217b6b994d" args="(const Glib::RefPtr&lt; Relation &gt; &amp;relation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Atk::RelationSet::set_add </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>relation</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a new relation to the current relation set if it is not already present. </p>
<p>This function ref's the AtkRelation so the caller of this function should unref it to ensure that it will be destroyed when the AtkRelationSet is destroyed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>relation</em>&#160;</td><td>An <a class="el" href="classAtk_1_1Relation.html" title="An Atk::Relation describes a relation between an object and one or more other objects...">Atk::Relation</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5d8cb7b1214d468fd53ff44317947662"></a><!-- doxytag: member="Atk::RelationSet::set_contains" ref="a5d8cb7b1214d468fd53ff44317947662" args="(RelationType relationship)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Atk::RelationSet::set_contains </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">RelationType</a>&#160;</td>
          <td class="paramname"> <em>relationship</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines whether the relation set contains a relation that matches the specified type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>relationship</em>&#160;</td><td>An <a class="el" href="group__atkmmEnums.html#ga83c3f0442ea6f73e32064b0caab555e5">Atk::RelationType</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>relationship</em> is the relationship type of a relation in <em>set</em>, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a27c554ac47fd8e328c85521d5ef3d91b"></a><!-- doxytag: member="Atk::RelationSet::set_remove" ref="a27c554ac47fd8e328c85521d5ef3d91b" args="(const Glib::RefPtr&lt; Relation &gt; &amp;relation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Atk::RelationSet::set_remove </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Relation.html">Relation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>relation</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a relation from the relation set. </p>
<p>This function unref's the <a class="el" href="classAtk_1_1Relation.html" title="An Atk::Relation describes a relation between an object and one or more other objects...">Atk::Relation</a> so it will be deleted unless there is another reference to it. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>relation</em>&#160;</td><td>An <a class="el" href="classAtk_1_1Relation.html" title="An Atk::Relation describes a relation between an object and one or more other objects...">Atk::Relation</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5f5c94267804b02ea43df30cf278716a"></a><!-- doxytag: member="Atk::RelationSet::wrap" ref="a5f5c94267804b02ea43df30cf278716a" args="(AtkRelationSet *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1RelationSet.html">Atk::RelationSet</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">AtkRelationSet *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<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>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>atkmm/relationset.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:42 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>