<html> <head> <title>Ecore: XCB Atom 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>XCB Atom Functions</h1> <p>Functions that operate on atoms. <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 void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Atom__Group.html#ga4c6beeb04b4a0e23895a34c38c615125">ecore_x_atom_get_prefetch</a> (const char *name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends the InternAtom request. <a href="#ga4c6beeb04b4a0e23895a34c38c615125"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga74cd977810f7decf26961d1277544952"></a><!-- doxytag: member="Ecore_X_Atom_Group::ecore_x_atom_get_fetch" ref="ga74cd977810f7decf26961d1277544952" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Atom__Group.html#ga74cd977810f7decf26961d1277544952">ecore_x_atom_get_fetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reply of the InternAtom request sent by <a class="el" href="group__Ecore__X__Atom__Group.html#ga4c6beeb04b4a0e23895a34c38c615125" title="Sends the InternAtom request.">ecore_x_atom_get_prefetch()</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Ecore_X_Atom </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Atom__Group.html#ga620b716ab9d058022c9070dfc929993f">ecore_x_atom_get</a> (const char *name __UNUSED__)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the atom value associated to a name. <a href="#ga620b716ab9d058022c9070dfc929993f"></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__Atom__Group.html#gadda5bd2c2ec7684a08df5f7f3483c10c">ecore_x_get_atom_name_prefetch</a> (Ecore_X_Atom atom)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends the GetAtomName request. <a href="#gadda5bd2c2ec7684a08df5f7f3483c10c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga86c701185a08e859d67d9d58078faa17"></a><!-- doxytag: member="Ecore_X_Atom_Group::ecore_x_get_atom_name_fetch" ref="ga86c701185a08e859d67d9d58078faa17" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Atom__Group.html#ga86c701185a08e859d67d9d58078faa17">ecore_x_get_atom_name_fetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reply of the GetAtomName request sent by <a class="el" href="group__Ecore__X__Atom__Group.html#gadda5bd2c2ec7684a08df5f7f3483c10c" title="Sends the GetAtomName request.">ecore_x_get_atom_name_prefetch()</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__Atom__Group.html#ga149096eb448d2aa409fb480a0f25d8be">ecore_x_atom_name_get</a> (Ecore_X_Atom atom)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the name of the given atom. <a href="#ga149096eb448d2aa409fb480a0f25d8be"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Functions that operate on atoms. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga620b716ab9d058022c9070dfc929993f"></a><!-- doxytag: member="ecore_xcb_atom.c::ecore_x_atom_get" ref="ga620b716ab9d058022c9070dfc929993f" args="(const char *name __UNUSED__)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Ecore_X_Atom ecore_x_atom_get </td> <td>(</td> <td class="paramtype">const char *name </td> <td class="paramname"> <em>__UNUSED__</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the atom value associated to a name. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Unused. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Associated atom value.</dd></dl> <p>Retrieves the atom value associated to a name. The reply is the returned value of the function ecore_xcb_intern_atom_reply(). If <code>reply</code> is <code>NULL</code>, the NULL atom is returned. Otherwise, the atom associated to the name is returned.</p> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__Atom__Group.html#ga4c6beeb04b4a0e23895a34c38c615125" title="Sends the InternAtom request.">ecore_x_atom_get_prefetch()</a>, which sends the InternAtom request, then <a class="el" href="group__Ecore__X__Atom__Group.html#ga74cd977810f7decf26961d1277544952" title="Gets the reply of the InternAtom request sent by ecore_x_atom_get_prefetch().">ecore_x_atom_get_fetch()</a>, which gets the reply. </p> <p>References <a class="el" href="ecore__x__atoms_8c_source.html#l00287">ecore_x_atom_get()</a>.</p> </div> </div> <a class="anchor" id="ga4c6beeb04b4a0e23895a34c38c615125"></a><!-- doxytag: member="ecore_xcb_atom.c::ecore_x_atom_get_prefetch" ref="ga4c6beeb04b4a0e23895a34c38c615125" args="(const char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_atom_get_prefetch </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sends the InternAtom request. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Name of the requested atom. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga149096eb448d2aa409fb480a0f25d8be"></a><!-- doxytag: member="ecore_xcb_atom.c::ecore_x_atom_name_get" ref="ga149096eb448d2aa409fb480a0f25d8be" args="(Ecore_X_Atom atom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI char* ecore_x_atom_name_get </td> <td>(</td> <td class="paramtype">Ecore_X_Atom </td> <td class="paramname"> <em>atom</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the name of the given atom. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>atom</em> </td><td>Unused. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The name of the atom.</dd></dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__Atom__Group.html#gadda5bd2c2ec7684a08df5f7f3483c10c" title="Sends the GetAtomName request.">ecore_x_get_atom_name_prefetch()</a>, which sends the GetAtomName request, then <a class="el" href="group__Ecore__X__Atom__Group.html#ga86c701185a08e859d67d9d58078faa17" title="Gets the reply of the GetAtomName request sent by ecore_x_get_atom_name_prefetch()...">ecore_x_get_atom_name_fetch()</a>, which gets the reply. </p> </div> </div> <a class="anchor" id="gadda5bd2c2ec7684a08df5f7f3483c10c"></a><!-- doxytag: member="ecore_xcb_atom.c::ecore_x_get_atom_name_prefetch" ref="gadda5bd2c2ec7684a08df5f7f3483c10c" args="(Ecore_X_Atom atom)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_get_atom_name_prefetch </td> <td>(</td> <td class="paramtype">Ecore_X_Atom </td> <td class="paramname"> <em>atom</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sends the GetAtomName request. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>atom</em> </td><td>Atom to get the name from. </td></tr> </table> </dd> </dl> </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:49 2010</td> </tr></table> </div> </body> </html>