<html> <head> <title>Ecore: X Window Geometry Functions</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <meta name="author" content="Andres Blanc" > <link rel="icon" href="img/favicon.png" type="image/x-icon"> <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon"> <link rel="icon" href="img/favicon.png" type="image/ico"> <link rel="shortcut icon" href="img/favicon.png" type="image/ico"> <link rel="stylesheet" type="text/css" href="e.css"> <link rel="stylesheet" type="text/css" href="edoxy.css"> </head> <body> <div id="container"> <div id="header"> <div class="layout"> <h1><span>Enlightenment</span></h1> <h2><span>Beauty at your fingertips</span></h2> <table cellspacing="0" cellpadding="0" width="100%"><tr> <td id="header_logo"> <a href="http://www.enlightenment.org"></a> </td> <td id="header_menu"> <table cellspacing="0" cellpadding="0" align="right"><tr> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=home">Home</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=news">News</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=about">About</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=download">Download</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=support">Support</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=contact">Contact</a></td> <td class="nav_passive"><a class="nav_passive" href="http://trac.enlightenment.org/e">Tracker</a></td> <td class="nav_passive"><a class="nav_passive" href="http://www.enlightenment.org/p.php?p=docs">Docs</a></td> </tr></table> </td> <td id="header_last"></td> </tr></table> <div class="doxytitle"> Ecore Documentation <small>at 2 Jul 2010</small> </div> <div class="menu-container"> <div class="submenu"> <ul class="current"> <li><a href="files.html">Files</a></li> <li><a href="annotated.html">Data Structures</a></li> <li><a href="globals.html">Globals</a></li> <li><a href="modules.html">Modules</a></li> <li><a href="pages.html">Related Pages</a></li> <li class="current"><a href="index.html">Main Page</a></li> </ul> </div> </div> <div class="clear"></div> </div> </div> <div id="content"> <div class="layout"> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="contents"> <h1>X Window Geometry Functions</h1> <p>Functions that change or retrieve the geometry of X windows. <a href="#_details">More...</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga6776554aa4ade68003e6e8a98e481df2">ecore_x_window_at_xy_get</a> (int x, int y)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the top, visible window at the given location. <a href="#ga6776554aa4ade68003e6e8a98e481df2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga671777ac9b390611aaec0cdecc86658a">ecore_x_window_at_xy_with_skip_get</a> (int x, int y, Ecore_X_Window *skip, int skip_num)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the top, visible window at the given location, but skips the windows in the list. <a href="#ga671777ac9b390611aaec0cdecc86658a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#gafff24861ed257264c9d9119fd0509c08">ecore_x_window_at_xy_begin_get</a> (Ecore_X_Window begin, int x, int y)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the top, visible window at the given location, but begins at the <code>begin</code> window instead of the root one. <a href="#gafff24861ed257264c9d9119fd0509c08"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga3081a7945ccf14096481d55b8ca7084d">ecore_x_window_size_get</a> (Ecore_X_Window window, int *width, int *height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the size of the given window. <a href="#ga3081a7945ccf14096481d55b8ca7084d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#gad1f18467a5fc7c8b7f2dbdffdaefbe7c">ecore_x_window_geometry_get</a> (Ecore_X_Window window, int *x, int *y, int *width, int *height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the geometry of the given window. <a href="#gad1f18467a5fc7c8b7f2dbdffdaefbe7c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#gaeb5ad9b694963652e5d8b3036d2b9744">ecore_x_window_border_width_get</a> (Ecore_X_Window win)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the width of the border of the given window. <a href="#gaeb5ad9b694963652e5d8b3036d2b9744"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga2259cb852c1cfa7d8769bbe1744040cd">ecore_x_window_shadow_tree_at_xy_with_skip_get</a> (Ecore_X_Window base, int x, int y, Ecore_X_Window *skip, int skip_num)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the top, visible window at the given location, but skips the windows in the list. <a href="#ga2259cb852c1cfa7d8769bbe1744040cd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga2dab94fbe1541d63f797829622dbd48e">ecore_x_window_shadow_parent_get</a> (Ecore_X_Window root, Ecore_X_Window win)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the parent window a given window has. <a href="#ga2dab94fbe1541d63f797829622dbd48e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9c20105a473477245ce69ce1dece73d9"></a><!-- doxytag: member="Ecore_X_Window_Geometry_Group::ecore_x_window_shadow_tree_flush" ref="ga9c20105a473477245ce69ce1dece73d9" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga9c20105a473477245ce69ce1dece73d9">ecore_x_window_shadow_tree_flush</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Flushes the window shadow tree so nothing is stored. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga4874b3c09244eac3828cd332bafd7978">ecore_x_window_move</a> (Ecore_X_Window win, int x, int y)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves a window to the position <code>x</code>, <code>y</code>. <a href="#ga4874b3c09244eac3828cd332bafd7978"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#gaccb702ac5a14183e4e125c6ca98d75bb">ecore_x_window_resize</a> (Ecore_X_Window win, int w, int h)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Resizes a window. <a href="#gaccb702ac5a14183e4e125c6ca98d75bb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga4bdf5178a61b983cac7c102fe06d400d">ecore_x_window_move_resize</a> (Ecore_X_Window win, int x, int y, int w, int h)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves and resizes a window. <a href="#ga4bdf5178a61b983cac7c102fe06d400d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga51031b34c63636b837982795f940e856">ecore_x_window_border_width_set</a> (Ecore_X_Window win, int width)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the width of the border of the given window. <a href="#ga51031b34c63636b837982795f940e856"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Window </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga6dd86544c7cbc4d5c48afe54fa97017f">ecore_x_window_root_get</a> (Ecore_X_Window win)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the root window a given window is on. <a href="#ga6dd86544c7cbc4d5c48afe54fa97017f"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Functions that change or retrieve the geometry of X windows. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="gafff24861ed257264c9d9119fd0509c08"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_at_xy_begin_get" ref="gafff24861ed257264c9d9119fd0509c08" args="(Ecore_X_Window begin, int x, int y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_at_xy_begin_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>begin</em>, </td> </tr> <tr> <td class="paramkey"></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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the top, visible window at the given location, but begins at the <code>begin</code> window instead of the root one. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>begin</em> </td><td>The window from which we begin. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The given X position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The given Y position. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The window at that position. </dd></dl> </div> </div> <a class="anchor" id="ga6776554aa4ade68003e6e8a98e481df2"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_at_xy_get" ref="ga6776554aa4ade68003e6e8a98e481df2" args="(int x, int y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_at_xy_get </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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the top, visible window at the given location. </p> <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 given X position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The given Y position. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The window at that position. </dd></dl> </div> </div> <a class="anchor" id="ga671777ac9b390611aaec0cdecc86658a"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_at_xy_with_skip_get" ref="ga671777ac9b390611aaec0cdecc86658a" args="(int x, int y, Ecore_X_Window *skip, int skip_num)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_at_xy_with_skip_get </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">Ecore_X_Window * </td> <td class="paramname"> <em>skip</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>skip_num</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the top, visible window at the given location, but skips the windows in the list. </p> <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 given X position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The given Y position. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The window at that position. </dd></dl> </div> </div> <a class="anchor" id="gaeb5ad9b694963652e5d8b3036d2b9744"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_border_width_get" ref="gaeb5ad9b694963652e5d8b3036d2b9744" args="(Ecore_X_Window win)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_window_border_width_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the width of the border of the given window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Width of the border of <code>win</code>. </dd></dl> <p>References <a class="el" href="ecore__x__drawable_8c_source.html#l00058">ecore_x_drawable_border_width_get()</a>.</p> </div> </div> <a class="anchor" id="ga51031b34c63636b837982795f940e856"></a><!-- doxytag: member="ecore_x_window.c::ecore_x_window_border_width_set" ref="ga51031b34c63636b837982795f940e856" args="(Ecore_X_Window win, int width)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_border_width_set </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>width</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the width of the border of the given window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>The new border width. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="gad1f18467a5fc7c8b7f2dbdffdaefbe7c"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_geometry_get" ref="gad1f18467a5fc7c8b7f2dbdffdaefbe7c" args="(Ecore_X_Window window, int *x, int *y, int *width, int *height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_geometry_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></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>w</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"> <em>h</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the geometry of the given window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Pointer to an integer in which the X position is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Pointer to an integer in which the Y position is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>Pointer to an integer in which the width is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>Pointer to an integer in which the height is to be stored.</td></tr> </table> </dd> </dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__Drawable__Group.html#ga3fa895ad27d43041247767eeff1e234f" title="Sends the GetGeometry request.">ecore_x_drawable_geometry_get_prefetch()</a>, which sends the GetGeometry request, then <a class="el" href="group__Ecore__X__Drawable__Group.html#gacd12f290bc7db9241e683da4855c27e4" title="Gets the reply of the GetGeometry request sent by ecore_x_atom_get_prefetch().">ecore_x_drawable_geometry_get_fetch()</a>, which gets the reply.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Pointer to an integer in which the X position is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Pointer to an integer in which the Y position is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>Pointer to an integer in which the width is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>Pointer to an integer in which the height is to be stored. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="ecore__x__drawable_8c_source.html#l00029">ecore_x_drawable_geometry_get()</a>.</p> </div> </div> <a class="anchor" id="ga4874b3c09244eac3828cd332bafd7978"></a><!-- doxytag: member="ecore_x_window.c::ecore_x_window_move" ref="ga4874b3c09244eac3828cd332bafd7978" args="(Ecore_X_Window win, int x, int y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_move </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Moves a window to the position <code>x</code>, <code>y</code>. </p> <p>The position is relative to the upper left hand corner of the parent window.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The window to move. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y position. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga4bdf5178a61b983cac7c102fe06d400d"></a><!-- doxytag: member="ecore_x_window.c::ecore_x_window_move_resize" ref="ga4bdf5178a61b983cac7c102fe06d400d" args="(Ecore_X_Window win, int x, int y, int w, int h)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_move_resize </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></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>w</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>h</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Moves and resizes a window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The window to move and resize. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>New X position of the window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>New Y position of the window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>New width of the window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>New height of the window. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="gaccb702ac5a14183e4e125c6ca98d75bb"></a><!-- doxytag: member="ecore_x_window.c::ecore_x_window_resize" ref="gaccb702ac5a14183e4e125c6ca98d75bb" args="(Ecore_X_Window win, int w, int h)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_resize </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </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>h</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Resizes a window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The window to resize. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>New width of the window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>New height of the window. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga6dd86544c7cbc4d5c48afe54fa97017f"></a><!-- doxytag: member="ecore_x_window.c::ecore_x_window_root_get" ref="ga6dd86544c7cbc4d5c48afe54fa97017f" args="(Ecore_X_Window win)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_root_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the root window a given window is on. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The window to get the root window of </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The root window of <code>win</code> </dd></dl> <p>Referenced by <a class="el" href="ecore__x_8c_source.html#l00215">ecore_x_init()</a>.</p> </div> </div> <a class="anchor" id="ga2dab94fbe1541d63f797829622dbd48e"></a><!-- doxytag: member="ecore_xcb_window_shadow.c::ecore_x_window_shadow_parent_get" ref="ga2dab94fbe1541d63f797829622dbd48e" args="(Ecore_X_Window root, Ecore_X_Window win)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_shadow_parent_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window root </td> <td class="paramname"> <em>__UNUSED__</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the parent window a given window has. </p> <p>This uses the shadow window tree. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>root</em> </td><td>The root window of <code>win</code> - if 0, this will be automatically determined with extra processing overhead </td></tr> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The window to get the parent window of </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The parent window of <code>win</code> </dd></dl> </div> </div> <a class="anchor" id="ga2259cb852c1cfa7d8769bbe1744040cd"></a><!-- doxytag: member="ecore_xcb_window_shadow.c::ecore_x_window_shadow_tree_at_xy_with_skip_get" ref="ga2259cb852c1cfa7d8769bbe1744040cd" args="(Ecore_X_Window base, int x, int y, Ecore_X_Window *skip, int skip_num)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Window ecore_x_window_shadow_tree_at_xy_with_skip_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>base</em>, </td> </tr> <tr> <td class="paramkey"></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">Ecore_X_Window * </td> <td class="paramname"> <em>skip</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>skip_num</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the top, visible window at the given location, but skips the windows in the list. </p> <p>This uses a shadow tree built from the window tree that is only updated the first time <a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga2259cb852c1cfa7d8769bbe1744040cd" title="Retrieves the top, visible window at the given location, but skips the windows in...">ecore_x_window_shadow_tree_at_xy_with_skip_get()</a> is called, or the next time it is called after a <a class="el" href="group__Ecore__X__Window__Geometry__Group.html#ga9c20105a473477245ce69ce1dece73d9" title="Flushes the window shadow tree so nothing is stored.">ecore_x_window_shadow_tree_flush()</a> </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>base</em> </td><td>The base window to start searching from (normally root). </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The given X position. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The given Y position. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The window at that position. </dd></dl> </div> </div> <a class="anchor" id="ga3081a7945ccf14096481d55b8ca7084d"></a><!-- doxytag: member="ecore_xcb_window.c::ecore_x_window_size_get" ref="ga3081a7945ccf14096481d55b8ca7084d" args="(Ecore_X_Window window, int *width, int *height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_window_size_get </td> <td>(</td> <td class="paramtype">Ecore_X_Window </td> <td class="paramname"> <em>win</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </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>h</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the size of the given window. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>Pointer to an integer into which the width is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>Pointer to an integer into which the height is to be stored.</td></tr> </table> </dd> </dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__Drawable__Group.html#ga3fa895ad27d43041247767eeff1e234f" title="Sends the GetGeometry request.">ecore_x_drawable_geometry_get_prefetch()</a>, which sends the GetGeometry request, then <a class="el" href="group__Ecore__X__Drawable__Group.html#gacd12f290bc7db9241e683da4855c27e4" title="Gets the reply of the GetGeometry request sent by ecore_x_atom_get_prefetch().">ecore_x_drawable_geometry_get_fetch()</a>, which gets the reply.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>win</em> </td><td>The given window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>Pointer to an integer into which the width is to be stored. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>Pointer to an integer into which the height is to be stored. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="ecore__x__drawable_8c_source.html#l00029">ecore_x_drawable_geometry_get()</a>.</p> </div> </div> </div> <div id="push"></div> </div> <!-- #content --> </div> <!-- .layout --> </div> <!-- #container --> <div id="footer"> <table><tr> <td class="copyright">Copyright ©2010 Enlightenment</td> <td class="generated">Docs generated Fri Jul 2 12:11:50 2010</td> </tr></table> </div> </body> </html>