<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>gtkmm 2.4: Atk::Selection Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- begin main content --> <div id="content"> <!-- Generated by Doxygen 1.5.1 --> <div class="nav"> <a class="el" href="namespaceAtk.html">Atk</a>::<a class="el" href="classAtk_1_1Selection.html">Selection</a></div> <h1>Atk::Selection Class Reference</h1><!-- doxytag: class="Atk::Selection" --><!-- doxytag: inherits="Glib::Interface" -->Inheritance diagram for Atk::Selection:<p><center><img src="classAtk_1_1Selection__inherit__graph.png" border="0" usemap="#Atk_1_1Selection__inherit__map" alt="Inheritance graph"></center> <map name="Atk_1_1Selection__inherit__map"> <area href="classAtk_1_1NoOpObject.html" shape="rect" coords="5,316,133,342" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="15,161,124,188" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="7,84,132,110" alt=""> <area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="13,6,125,33" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classAtk_1_1Selection-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> The ATK interface implemented by container objects whose <a class="el" href="classAtk_1_1Object.html">Atk::Object</a> children can be selected. <p> This should be implemented by UI components with children which are exposed by Atk::Object::ref_child and Atk::Object::get_n_children, if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to those AtkObject children - for example, selectable lists.<p> Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - <a class="el" href="classAtk_1_1Selection.html">Atk::Selection</a> is limited to the selection/deselection of children. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#d7049b1172c9dd0b9849bd2d12a5b134">add_selection</a> (int i)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified accessible child of the object to the object's selection. <a href="#d7049b1172c9dd0b9849bd2d12a5b134"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#fbcb542e8def62329c1e9cb52d5d24a4">clear_selection</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the selection in the object so that no children in the object are selected. <a href="#fbcb542e8def62329c1e9cb52d5d24a4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#d74b10568731d7f6f503397897702484">get_selection</a> (int i)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a reference to the accessible object representing the specified selected child of the object. <a href="#d74b10568731d7f6f503397897702484"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#cfb31ce2089e26c783dee0638710551c">get_selection_count</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of accessible children currently selected. <a href="#cfb31ce2089e26c783dee0638710551c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const AtkSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#48944cad103c8f7cc51a1533bcaf508d">gobj</a> () const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#48944cad103c8f7cc51a1533bcaf508d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">AtkSelection* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#b7f5468ebda2c09cb24170b6a07250b1">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#b7f5468ebda2c09cb24170b6a07250b1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#e7e3b6520c22d348a75532cfa8ca9cff">is_child_selected</a> (int i) const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines if the current child of this object is selected. <a href="#e7e3b6520c22d348a75532cfa8ca9cff"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#01feedb0395d111ad41f77a14e94988b">remove_selection</a> (int i)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified child of the object from the object's selection. <a href="#01feedb0395d111ad41f77a14e94988b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#92e1b742054e0476c6596617d2f8de20">select_all_selection</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes every child of the object to be selected if the object supports multiple selections. <a href="#92e1b742054e0476c6596617d2f8de20"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a><void> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#77cfe7a9e587c75b907e6fd5ae87b67b">signal_selection_changed</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_selection_changed()</code> </dd></dl> <a href="#77cfe7a9e587c75b907e6fd5ae87b67b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#9f2e5ac95e00e958f2ef75bf63335f30">~Selection</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#93a878d016d2f576db3c07390d72e558">add_interface</a> (GType gtype_implementer)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#dfecf829b51fe9a026185c31a408af32">add_selection_vfunc</a> (int i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#1f4114016410eceb7e6dfe4108969ad6">clear_selection_vfunc</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#93708f16e2cb374dc3bd358a3da7b346">get_selection_count_vfunc</a> () const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#917e162fd7d595c0219d7cb8ea9c0d41">get_selection_vfunc</a> (int i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#537499ba18260d3e6a5e83ce8b646423">is_child_selected_vfunc</a> (int i) const</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#bc335734ac36cf271049aafa749369b3">on_selection_changed</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#96e54b0008b8c814a429cebe4a058ad8">remove_selection_vfunc</a> (int i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#bd539e193806de2c2071fa14be2dbad2">select_all_selection_vfunc</a> ()</td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Selection.html">Atk::Selection</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Selection.html#3c2d7634f421fa3c5747fa0acea5336d">wrap</a> (AtkSelection* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#3c2d7634f421fa3c5747fa0acea5336d"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="9f2e5ac95e00e958f2ef75bf63335f30"></a><!-- doxytag: member="Atk::Selection::~Selection" ref="9f2e5ac95e00e958f2ef75bf63335f30" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Atk::Selection::~Selection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="93a878d016d2f576db3c07390d72e558"></a><!-- doxytag: member="Atk::Selection::add_interface" ref="93a878d016d2f576db3c07390d72e558" args="(GType gtype_implementer)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static void Atk::Selection::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"> <em>gtype_implementer</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d7049b1172c9dd0b9849bd2d12a5b134"></a><!-- doxytag: member="Atk::Selection::add_selection" ref="d7049b1172c9dd0b9849bd2d12a5b134" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Selection::add_selection </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Adds the specified accessible child of the object to the object's selection. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>A <code>int</code> specifying the child index. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="dfecf829b51fe9a026185c31a408af32"></a><!-- doxytag: member="Atk::Selection::add_selection_vfunc" ref="dfecf829b51fe9a026185c31a408af32" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Atk::Selection::add_selection_vfunc </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="fbcb542e8def62329c1e9cb52d5d24a4"></a><!-- doxytag: member="Atk::Selection::clear_selection" ref="fbcb542e8def62329c1e9cb52d5d24a4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Selection::clear_selection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Clears the selection in the object so that no children in the object are selected. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="1f4114016410eceb7e6dfe4108969ad6"></a><!-- doxytag: member="Atk::Selection::clear_selection_vfunc" ref="1f4114016410eceb7e6dfe4108969ad6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Atk::Selection::clear_selection_vfunc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d74b10568731d7f6f503397897702484"></a><!-- doxytag: member="Atk::Selection::get_selection" ref="d74b10568731d7f6f503397897702484" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> Atk::Selection::get_selection </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets a reference to the accessible object representing the specified selected child of the object. <p> <dl class="note" compact><dt><b>Note:</b></dt><dd>callers should not rely on <code>0</code> or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. </dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>A <code>int</code> specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child). </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>An <a class="el" href="classAtk_1_1Object.html">Atk::Object</a> representing the selected accessible , or <code>0</code> if <em>selection</em> does not implement this interface. </dd></dl> </div> </div><p> <a class="anchor" name="cfb31ce2089e26c783dee0638710551c"></a><!-- doxytag: member="Atk::Selection::get_selection_count" ref="cfb31ce2089e26c783dee0638710551c" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Atk::Selection::get_selection_count </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets the number of accessible children currently selected. <p> <dl class="note" compact><dt><b>Note:</b></dt><dd>callers should not rely on <code>0</code> or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. </dd></dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <code>int</code> representing the number of items selected, or 0 if <em>selection</em> does not implement this interface. </dd></dl> </div> </div><p> <a class="anchor" name="93708f16e2cb374dc3bd358a3da7b346"></a><!-- doxytag: member="Atk::Selection::get_selection_count_vfunc" ref="93708f16e2cb374dc3bd358a3da7b346" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int Atk::Selection::get_selection_count_vfunc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="917e162fd7d595c0219d7cb8ea9c0d41"></a><!-- doxytag: member="Atk::Selection::get_selection_vfunc" ref="917e162fd7d595c0219d7cb8ea9c0d41" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> Atk::Selection::get_selection_vfunc </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="48944cad103c8f7cc51a1533bcaf508d"></a><!-- doxytag: member="Atk::Selection::gobj" ref="48944cad103c8f7cc51a1533bcaf508d" args="() const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const AtkSelection* Atk::Selection::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> 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" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html#4737c92fa9930b4f006ab8b3c9487504">Glib::Interface</a>. <p> Reimplemented in <a class="el" href="classAtk_1_1NoOpObject.html#c568dcb09803b94280462f1f9b94a889">Atk::NoOpObject</a>. </div> </div><p> <a class="anchor" name="b7f5468ebda2c09cb24170b6a07250b1"></a><!-- doxytag: member="Atk::Selection::gobj" ref="b7f5468ebda2c09cb24170b6a07250b1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">AtkSelection* Atk::Selection::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><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" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html#969e9396f75132a9577428f4fa932d42">Glib::Interface</a>. <p> Reimplemented in <a class="el" href="classAtk_1_1NoOpObject.html#aad07a3a8ce4dea968c53f0098498836">Atk::NoOpObject</a>. </div> </div><p> <a class="anchor" name="e7e3b6520c22d348a75532cfa8ca9cff"></a><!-- doxytag: member="Atk::Selection::is_child_selected" ref="e7e3b6520c22d348a75532cfa8ca9cff" args="(int i) const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Selection::is_child_selected </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Determines if the current child of this object is selected. <p> <dl class="note" compact><dt><b>Note:</b></dt><dd>callers should not rely on <code>0</code> or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. </dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>A <code>int</code> specifying the child index. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A <code>bool</code> representing the specified child is selected, or 0 if <em>selection</em> does not implement this interface. </dd></dl> </div> </div><p> <a class="anchor" name="537499ba18260d3e6a5e83ce8b646423"></a><!-- doxytag: member="Atk::Selection::is_child_selected_vfunc" ref="537499ba18260d3e6a5e83ce8b646423" args="(int i) const" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Atk::Selection::is_child_selected_vfunc </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"> const<code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="bc335734ac36cf271049aafa749369b3"></a><!-- doxytag: member="Atk::Selection::on_selection_changed" ref="bc335734ac36cf271049aafa749369b3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Atk::Selection::on_selection_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="01feedb0395d111ad41f77a14e94988b"></a><!-- doxytag: member="Atk::Selection::remove_selection" ref="01feedb0395d111ad41f77a14e94988b" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Selection::remove_selection </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Removes the specified child of the object from the object's selection. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>A <code>int</code> specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child). </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="96e54b0008b8c814a429cebe4a058ad8"></a><!-- doxytag: member="Atk::Selection::remove_selection_vfunc" ref="96e54b0008b8c814a429cebe4a058ad8" args="(int i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Atk::Selection::remove_selection_vfunc </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="92e1b742054e0476c6596617d2f8de20"></a><!-- doxytag: member="Atk::Selection::select_all_selection" ref="92e1b742054e0476c6596617d2f8de20" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Selection::select_all_selection </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Causes every child of the object to be selected if the object supports multiple selections. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if success, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="bd539e193806de2c2071fa14be2dbad2"></a><!-- doxytag: member="Atk::Selection::select_all_selection_vfunc" ref="bd539e193806de2c2071fa14be2dbad2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Atk::Selection::select_all_selection_vfunc </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="77cfe7a9e587c75b907e6fd5ae87b67b"></a><!-- doxytag: member="Atk::Selection::signal_selection_changed" ref="77cfe7a9e587c75b907e6fd5ae87b67b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Atk::Selection::signal_selection_changed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_selection_changed()</code> </dd></dl> <p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="3c2d7634f421fa3c5747fa0acea5336d"></a><!-- doxytag: member="Atk::Selection::wrap" ref="3c2d7634f421fa3c5747fa0acea5336d" args="(AtkSelection *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classAtk_1_1Selection.html">Atk::Selection</a>> wrap </td> <td>(</td> <td class="paramtype">AtkSelection * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p> <dl compact><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 C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="selection_8h.html">selection.h</a></ul> </div> <!-- end main content --> <hr><address><small> Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.5.1 © 1997-2001</small></address> </body> </html>