<!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>atkmm: Atk::Component 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.7.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</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"> <ul> <li><a class="el" href="namespaceAtk.html">Atk</a> </li> <li><a class="el" href="classAtk_1_1Component.html">Component</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Atk::Component Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Atk::Component" --><!-- doxytag: inherits="Glib::Interface" --> <p>The ATK interface provided by UI components which occupy a physical area on the screen. <a href="#_details">More...</a></p> <p><code>#include <atkmm/component.h></code></p> <!-- startSectionHeader --><div class="dynheader"> Inheritance diagram for Atk::Component:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classAtk_1_1Component__inherit__graph.png" border="0" usemap="#Atk_1_1Component_inherit__map" alt="Inheritance graph"/></div> <map name="Atk_1_1Component_inherit__map" id="Atk_1_1Component_inherit__map"> <area shape="rect" id="node9" href="classAtk_1_1NoOpObject.html" title="An Atk::NoOpObject is an Atk::Object which purports to implement all ATK interfaces." alt="" coords="5,315,133,344"/><area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="15,160,124,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="7,83,132,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,127,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <p><a href="classAtk_1_1Component-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e9352cd6e5e139cd5b5c310fab5d993"></a><!-- doxytag: member="Atk::Component::gobj" ref="a4e9352cd6e5e139cd5b5c310fab5d993" args="()" --> AtkComponent* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a4e9352cd6e5e139cd5b5c310fab5d993">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acca597d13f18df1b507a739f245a402a"></a><!-- doxytag: member="Atk::Component::gobj" ref="acca597d13f18df1b507a739f245a402a" args="() const " --> const AtkComponent* </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#acca597d13f18df1b507a739f245a402a">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a3801c9c8883b04c3cb6cbc3a8324d720">add_focus_handler</a> (AtkFocusHandler handler)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add the specified handler to the set of functions to be called when this object receives focus events (in or out). <a href="#a3801c9c8883b04c3cb6cbc3a8324d720"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#adfdd4667a6179c84f49a28bf7b2c3b6c">contains</a> (int x, int y, CoordType coord_type) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the specified point is within the extent of the <em>component</em>. <a href="#adfdd4667a6179c84f49a28bf7b2c3b6c"></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>< <a class="el" href="classAtk_1_1Object.html">Atk::Object</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a587373de988a993ac69473a6f968d592">get_accessible_at_point</a> (int x, int y, CoordType coord_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a reference to the accessible child, if one exists, at the coordinate point specified by <em>x</em> and <em>y</em>. <a href="#a587373de988a993ac69473a6f968d592"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#aff54a73d11808f3b83e476b0b6c6ef72">get_extents</a> (int& x, int& y, int& width, int& height, CoordType coord_type) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the rectangle which gives the extent of the <em>component</em>. <a href="#aff54a73d11808f3b83e476b0b6c6ef72"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#ab3f0b95a127bd1007bc90bf8c34077ba">get_position</a> (int& x, int& y, CoordType coord_type) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the position of <em>component</em> in the form of a point specifying <em>component's</em> top-left corner. <a href="#ab3f0b95a127bd1007bc90bf8c34077ba"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a5a99521eb20cd82226016196f642684b">get_size</a> (int& width, int& height) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the size of the <em>component</em> in terms of width and height. <a href="#a5a99521eb20cd82226016196f642684b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Layer </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a24ae6220ea9146327965cc116ec5b486">get_layer</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the layer of the component. <a href="#a24ae6220ea9146327965cc116ec5b486"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a2ce831669dc8644aa58c0e1540f78bf7">get_mdi_zorder</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the zorder of the component. <a href="#a2ce831669dc8644aa58c0e1540f78bf7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#ab62940b0782345103171b8e752b58f28">grab_focus</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Grabs focus for this <em>component</em>. <a href="#ab62940b0782345103171b8e752b58f28"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a980a75536f126672470779ab68a08502">remove_focus_handler</a> (guint handler_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove the handler specified by <em>handler_id</em> from the list of functions to be executed when this object receives focus events (in or out). <a href="#a980a75536f126672470779ab68a08502"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a9d4d0aa5f9531ed200340e4b273c29cd">set_extents</a> (int x, int y, int width, int height, CoordType coord_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the extents of <em>component</em>. <a href="#a9d4d0aa5f9531ed200340e4b273c29cd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a0f799ad812be9ee955d5e04b1022d107">set_position</a> (int x, int y, CoordType coord_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the postition of <em>component</em>. <a href="#a0f799ad812be9ee955d5e04b1022d107"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a41f4181b9b75198b77e2edbdb5dab2f2">set_size</a> (int width, int height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the size of the <em>component</em> in terms of width and height. <a href="#a41f4181b9b75198b77e2edbdb5dab2f2"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <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>< <a class="el" href="classAtk_1_1Component.html">Atk::Component</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Component.html#a3eb83954385bb8705cfd2d6d4f2a0f23">wrap</a> (AtkComponent* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </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="#a3eb83954385bb8705cfd2d6d4f2a0f23"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>The ATK interface provided by UI components which occupy a physical area on the screen. </p> <p>This should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have <a class="el" href="classAtk_1_1Component.html" title="The ATK interface provided by UI components which occupy a physical area on the screen.">Atk::Component</a> implementations provided for their corresponding <a class="el" href="classAtk_1_1Object.html" title="The base object class for the Accessibility Toolkit API.">Atk::Object</a> class. In short, only UI elements which are* not* GUI elements will omit this ATK interface.</p> <p>A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by <a class="el" href="classAtk_1_1Text.html" title="The ATK interface implemented by components with text content.">Atk::Text</a>. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a3801c9c8883b04c3cb6cbc3a8324d720"></a><!-- doxytag: member="Atk::Component::add_focus_handler" ref="a3801c9c8883b04c3cb6cbc3a8324d720" args="(AtkFocusHandler handler)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Atk::Component::add_focus_handler </td> <td>(</td> <td class="paramtype">AtkFocusHandler </td> <td class="paramname"> <em>handler</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Add the specified handler to the set of functions to be called when this object receives focus events (in or out). </p> <p>If the handler is already added it is not added again </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">handler</td><td>The Atk::FocusHandler to be attached to <em>component</em>. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A handler id which can be used in atk_component_remove_focus_handler or zero if the handler was already added. </dd></dl> </div> </div> <a class="anchor" id="adfdd4667a6179c84f49a28bf7b2c3b6c"></a><!-- doxytag: member="Atk::Component::contains" ref="adfdd4667a6179c84f49a28bf7b2c3b6c" args="(int x, int y, CoordType coord_type) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Component::contains </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether the specified point is within the extent of the <em>component</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>X coordinate. </td></tr> <tr><td class="paramname">y</td><td>Y coordinate. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> or <code>false</code> indicating whether the specified point is within the extent of the <em>component</em> or not. </dd></dl> </div> </div> <a class="anchor" id="a587373de988a993ac69473a6f968d592"></a><!-- doxytag: member="Atk::Component::get_accessible_at_point" ref="a587373de988a993ac69473a6f968d592" args="(int x, int y, CoordType coord_type)" --> <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><<a class="el" href="classAtk_1_1Object.html">Atk::Object</a>> Atk::Component::get_accessible_at_point </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Gets a reference to the accessible child, if one exists, at the coordinate point specified by <em>x</em> and <em>y</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>X coordinate. </td></tr> <tr><td class="paramname">y</td><td>Y coordinate. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the accessible child, if one exists. </dd></dl> </div> </div> <a class="anchor" id="aff54a73d11808f3b83e476b0b6c6ef72"></a><!-- doxytag: member="Atk::Component::get_extents" ref="aff54a73d11808f3b83e476b0b6c6ef72" args="(int &x, int &y, int &width, int &height, CoordType coord_type) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Atk::Component::get_extents </td> <td>(</td> <td class="paramtype">int & </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>height</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the rectangle which gives the extent of the <em>component</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>Address of <code>int</code> to put x coordinate. </td></tr> <tr><td class="paramname">y</td><td>Address of <code>int</code> to put y coordinate. </td></tr> <tr><td class="paramname">width</td><td>Address of <code>int</code> to put width. </td></tr> <tr><td class="paramname">height</td><td>Address of <code>int</code> to put height. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a24ae6220ea9146327965cc116ec5b486"></a><!-- doxytag: member="Atk::Component::get_layer" ref="a24ae6220ea9146327965cc116ec5b486" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Layer Atk::Component::get_layer </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the layer of the component. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>An Atk::Layer which is the layer of the component. </dd></dl> </div> </div> <a class="anchor" id="a2ce831669dc8644aa58c0e1540f78bf7"></a><!-- doxytag: member="Atk::Component::get_mdi_zorder" ref="a2ce831669dc8644aa58c0e1540f78bf7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Atk::Component::get_mdi_zorder </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the zorder of the component. </p> <p>The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <code>int</code> which is the zorder of the component, i.e. the depth at which the component is shown in relation to other components in the same container. </dd></dl> </div> </div> <a class="anchor" id="ab3f0b95a127bd1007bc90bf8c34077ba"></a><!-- doxytag: member="Atk::Component::get_position" ref="ab3f0b95a127bd1007bc90bf8c34077ba" args="(int &x, int &y, CoordType coord_type) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Atk::Component::get_position </td> <td>(</td> <td class="paramtype">int & </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the position of <em>component</em> in the form of a point specifying <em>component's</em> top-left corner. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>Address of <code>int</code> to put x coordinate position. </td></tr> <tr><td class="paramname">y</td><td>Address of <code>int</code> to put y coordinate position. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a5a99521eb20cd82226016196f642684b"></a><!-- doxytag: member="Atk::Component::get_size" ref="a5a99521eb20cd82226016196f642684b" args="(int &width, int &height) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Atk::Component::get_size </td> <td>(</td> <td class="paramtype">int & </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int & </td> <td class="paramname"> <em>height</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the size of the <em>component</em> in terms of width and height. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">width</td><td>Address of <code>int</code> to put width of <em>component</em>. </td></tr> <tr><td class="paramname">height</td><td>Address of <code>int</code> to put height of <em>component</em>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab62940b0782345103171b8e752b58f28"></a><!-- doxytag: member="Atk::Component::grab_focus" ref="ab62940b0782345103171b8e752b58f28" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Component::grab_focus </td> <td>(</td> <td class="paramname"> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Grabs focus for this <em>component</em>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if successful, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="a980a75536f126672470779ab68a08502"></a><!-- doxytag: member="Atk::Component::remove_focus_handler" ref="a980a75536f126672470779ab68a08502" args="(guint handler_id)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Atk::Component::remove_focus_handler </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>handler_id</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove the handler specified by <em>handler_id</em> from the list of functions to be executed when this object receives focus events (in or out). </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">handler_id</td><td>The handler id of the focus handler to be removed from <em>component</em>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a9d4d0aa5f9531ed200340e4b273c29cd"></a><!-- doxytag: member="Atk::Component::set_extents" ref="a9d4d0aa5f9531ed200340e4b273c29cd" args="(int x, int y, int width, int height, CoordType coord_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Component::set_extents </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>height</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the extents of <em>component</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>X coordinate. </td></tr> <tr><td class="paramname">y</td><td>Y coordinate. </td></tr> <tr><td class="paramname">width</td><td>Width to set for <em>component</em>. </td></tr> <tr><td class="paramname">height</td><td>Height to set for <em>component</em>. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> or <code>false</code> whether the extents were set or not. </dd></dl> </div> </div> <a class="anchor" id="a0f799ad812be9ee955d5e04b1022d107"></a><!-- doxytag: member="Atk::Component::set_position" ref="a0f799ad812be9ee955d5e04b1022d107" args="(int x, int y, CoordType coord_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Component::set_position </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">CoordType </td> <td class="paramname"> <em>coord_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the postition of <em>component</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">x</td><td>X coordinate. </td></tr> <tr><td class="paramname">y</td><td>Y coordinate. </td></tr> <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> or <code>false</code> whether or not the position was set or not. </dd></dl> </div> </div> <a class="anchor" id="a41f4181b9b75198b77e2edbdb5dab2f2"></a><!-- doxytag: member="Atk::Component::set_size" ref="a41f4181b9b75198b77e2edbdb5dab2f2" args="(int width, int height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Atk::Component::set_size </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>height</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the size of the <em>component</em> in terms of width and height. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">width</td><td>Width to set for <em>component</em>. </td></tr> <tr><td class="paramname">height</td><td>Height to set for <em>component</em>. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> or <code>false</code> whether the size was set or not. </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a3eb83954385bb8705cfd2d6d4f2a0f23"></a><!-- doxytag: member="Atk::Component::wrap" ref="a3eb83954385bb8705cfd2d6d4f2a0f23" args="(AtkComponent *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>< <a class="el" href="classAtk_1_1Component.html">Atk::Component</a> > wrap </td> <td>(</td> <td class="paramtype">AtkComponent * </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> </tr> <tr> <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 class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Mar 30 2011 09:27:41 for atkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address> </body> </html>