<html> <head> <title>Ecore: X DPMS Extension 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 DPMS Extension Functions</h1> <p>Functions related to the X DPMS extension. <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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga032ee4fb13efffefc4f6a472ecd8fdc6">ecore_x_dpms_query</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the DPMS extension is available or not. <a href="#ga032ee4fb13efffefc4f6a472ecd8fdc6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga57c4b53ec3e7398959703e86e08b2edc"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_capable_get_prefetch" ref="ga57c4b53ec3e7398959703e86e08b2edc" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga57c4b53ec3e7398959703e86e08b2edc">ecore_x_dpms_capable_get_prefetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends the DPMSCapable request. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga30d1afa503d86e43aaf1e91452ee5cec"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_capable_get_fetch" ref="ga30d1afa503d86e43aaf1e91452ee5cec" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga30d1afa503d86e43aaf1e91452ee5cec">ecore_x_dpms_capable_get_fetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reply of the DPMSCapable request sent by <a class="el" href="group__Ecore__X__DPMS__Group.html#ga57c4b53ec3e7398959703e86e08b2edc" title="Sends the DPMSCapable request.">ecore_x_dpms_capable_get_prefetch()</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__DPMS__Group.html#gacc046dd0ff301db75a220b44165d70d7">ecore_x_dpms_capable_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks if the X server is capable of DPMS. <a href="#gacc046dd0ff301db75a220b44165d70d7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3acf2e4676f0c4e7d15dd55d895a664f"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_enable_get_prefetch" ref="ga3acf2e4676f0c4e7d15dd55d895a664f" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga3acf2e4676f0c4e7d15dd55d895a664f">ecore_x_dpms_enable_get_prefetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends the DPMSInfo request. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad135ecdd36d61f718bcde127dda01ae0"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_enable_get_fetch" ref="gad135ecdd36d61f718bcde127dda01ae0" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#gad135ecdd36d61f718bcde127dda01ae0">ecore_x_dpms_enable_get_fetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reply of the DPMSInfo request sent by <a class="el" href="group__Ecore__X__DPMS__Group.html#ga3acf2e4676f0c4e7d15dd55d895a664f" title="Sends the DPMSInfo request.">ecore_x_dpms_enable_get_prefetch()</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__DPMS__Group.html#ga0a009a4d693a661b093e24c45f0fcf47">ecore_x_dpms_enable_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks the DPMS state of the display. <a href="#ga0a009a4d693a661b093e24c45f0fcf47"></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__DPMS__Group.html#gabad51cbf45115e47e5b79370cb0262f1">ecore_x_dpms_enabled_set</a> (int enabled)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the DPMS state of the display. <a href="#gabad51cbf45115e47e5b79370cb0262f1"></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__DPMS__Group.html#gadcb653306d26c1677a7fff274dda5a51">ecore_x_dpms_timeouts_set</a> (unsigned int standby, unsigned int suspend, unsigned int off)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the timeouts. <a href="#gadcb653306d26c1677a7fff274dda5a51"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1f7c26484063ed488792590ef83a25af"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_timeouts_get_prefetch" ref="ga1f7c26484063ed488792590ef83a25af" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af">ecore_x_dpms_timeouts_get_prefetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sends the DPMSGetTimeouts request. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab45150258267e7390235b42b9597ddfd"></a><!-- doxytag: member="Ecore_X_DPMS_Group::ecore_x_dpms_timeouts_get_fetch" ref="gab45150258267e7390235b42b9597ddfd" args="(void)" --> EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd">ecore_x_dpms_timeouts_get_fetch</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reply of the DPMSGetTimeouts request sent by <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</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__DPMS__Group.html#ga7b648c34d84859af30563fff3ed1a9f4">ecore_x_dpms_timeouts_get</a> (unsigned int *standby, unsigned int *suspend, unsigned int *off)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the timeouts. <a href="#ga7b648c34d84859af30563fff3ed1a9f4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga98f6d6b27b62e20771d045c5cdc84224">ecore_x_dpms_timeout_standby_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the amount of time of inactivity before standby mode is invoked. <a href="#ga98f6d6b27b62e20771d045c5cdc84224"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga5c4d8c5257fb8436936cdc368f221cf5">ecore_x_dpms_timeout_suspend_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the amount of time of inactivity before the second level of power saving is invoked. <a href="#ga5c4d8c5257fb8436936cdc368f221cf5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Ecore__X__DPMS__Group.html#ga0a92dbb4867890c3add004998eb1345e">ecore_x_dpms_timeout_off_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the amount of time of inactivity before the third and final level of power saving is invoked. <a href="#ga0a92dbb4867890c3add004998eb1345e"></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__DPMS__Group.html#gafd2d7b881056cab22b83c775861d4e0b">ecore_x_dpms_timeout_standby_set</a> (unsigned int new_standby)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the standby timeout (in unit of seconds). <a href="#gafd2d7b881056cab22b83c775861d4e0b"></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__DPMS__Group.html#ga2f04aac035cf3b6ebe6ddb700d7726b2">ecore_x_dpms_timeout_suspend_set</a> (unsigned int new_suspend)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the suspend timeout (in unit of seconds). <a href="#ga2f04aac035cf3b6ebe6ddb700d7726b2"></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__DPMS__Group.html#ga2bdc640d6640f7346aeb9b0daa0789fc">ecore_x_dpms_timeout_off_set</a> (unsigned int new_off)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the off timeout (in unit of seconds). <a href="#ga2bdc640d6640f7346aeb9b0daa0789fc"></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__DPMS__Group.html#ga41784bf96145cddc7a9a3d3b7022bb7a">ecore_x_dpms_enabled_get</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks the DPMS state of the display. <a href="#ga41784bf96145cddc7a9a3d3b7022bb7a"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Functions related to the X DPMS extension. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="gacc046dd0ff301db75a220b44165d70d7"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_capable_get" ref="gacc046dd0ff301db75a220b44165d70d7" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_dpms_capable_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Checks if the X server is capable of DPMS. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if the X server is capable of DPMS, <code>0</code> otherwise.</dd></dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga57c4b53ec3e7398959703e86e08b2edc" title="Sends the DPMSCapable request.">ecore_x_dpms_capable_get_prefetch()</a>, which sends the DPMSCapable request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#ga30d1afa503d86e43aaf1e91452ee5cec" title="Gets the reply of the DPMSCapable request sent by ecore_x_dpms_capable_get_prefetch()...">ecore_x_dpms_capable_get_fetch()</a>, which gets the reply.</p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if the X server is capable of DPMS, <code>0</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="ga0a009a4d693a661b093e24c45f0fcf47"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_enable_get" ref="ga0a009a4d693a661b093e24c45f0fcf47" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_dpms_enable_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Checks the DPMS state of the display. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if DPMS is enabled, <code>0</code> otherwise.</dd></dl> <p>To use this function, you must call before, and in order, ecore_x_dpms_enapable_get_prefetch(), which sends the DPMSInfo request, then ecore_x_dpms_enapable_get_fetch(), which gets the reply. </p> </div> </div> <a class="anchor" id="ga41784bf96145cddc7a9a3d3b7022bb7a"></a><!-- doxytag: member="ecore_x_dpms.c::ecore_x_dpms_enabled_get" ref="ga41784bf96145cddc7a9a3d3b7022bb7a" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_dpms_enabled_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Checks the DPMS state of the display. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if DPMS is enabled, <code>0</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="gabad51cbf45115e47e5b79370cb0262f1"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_enabled_set" ref="gabad51cbf45115e47e5b79370cb0262f1" args="(int enabled)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_dpms_enabled_set </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>enabled</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the DPMS state of the display. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>enabled</em> </td><td><code>0</code> to disable DPMS characteristics of the server, enable it otherwise. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga032ee4fb13efffefc4f6a472ecd8fdc6"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_query" ref="ga032ee4fb13efffefc4f6a472ecd8fdc6" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_dpms_query </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Checks if the DPMS extension is available or not. </p> <p>Checks if the X DPMS extension is available on the server.</p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if the DPMS extension is available, <code>0</code> otherwise.</dd></dl> <p>Return 1 if the X server supports the DPMS Extension version 1.0, 0 otherwise.</p> <dl class="return"><dt><b>Returns:</b></dt><dd><code>1</code> if the X DPMS extension is available, <code>0</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="ga0a92dbb4867890c3add004998eb1345e"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_off_get" ref="ga0a92dbb4867890c3add004998eb1345e" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI unsigned int ecore_x_dpms_timeout_off_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the amount of time of inactivity before the third and final level of power saving is invoked. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The off timeout value.</dd></dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_get_fetch()</a>, which gets the reply.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The off timeout value. </dd></dl> </div> </div> <a class="anchor" id="ga2bdc640d6640f7346aeb9b0daa0789fc"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_off_set" ref="ga2bdc640d6640f7346aeb9b0daa0789fc" args="(unsigned int new_off)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_dpms_timeout_off_set </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>new_timeout</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the off timeout (in unit of seconds). </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>off</em> </td><td>Amount of time of inactivity before the monitor is shut off.</td></tr> </table> </dd> </dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_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>off</em> </td><td>Amount of time of inactivity before the monitor is shut off. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga98f6d6b27b62e20771d045c5cdc84224"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_standby_get" ref="ga98f6d6b27b62e20771d045c5cdc84224" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI unsigned int ecore_x_dpms_timeout_standby_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the amount of time of inactivity before standby mode is invoked. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The standby timeout value.</dd></dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_get_fetch()</a>, which gets the reply.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The standby timeout value. </dd></dl> </div> </div> <a class="anchor" id="gafd2d7b881056cab22b83c775861d4e0b"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_standby_set" ref="gafd2d7b881056cab22b83c775861d4e0b" args="(unsigned int new_standby)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_dpms_timeout_standby_set </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>new_timeout</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the standby timeout (in unit of seconds). </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>new_standby</em> </td><td>Amount of time of inactivity before standby mode will be invoked.</td></tr> </table> </dd> </dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_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>new_standby</em> </td><td>Amount of time of inactivity before standby mode will be invoked. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga5c4d8c5257fb8436936cdc368f221cf5"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_suspend_get" ref="ga5c4d8c5257fb8436936cdc368f221cf5" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI unsigned int ecore_x_dpms_timeout_suspend_get </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the amount of time of inactivity before the second level of power saving is invoked. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The suspend timeout value.</dd></dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_get_fetch()</a>, which gets the reply.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The suspend timeout value. </dd></dl> </div> </div> <a class="anchor" id="ga2f04aac035cf3b6ebe6ddb700d7726b2"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeout_suspend_set" ref="ga2f04aac035cf3b6ebe6ddb700d7726b2" args="(unsigned int new_suspend)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_dpms_timeout_suspend_set </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>new_timeout</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the suspend timeout (in unit of seconds). </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>suspend</em> </td><td>Amount of time of inactivity before the screen is placed into suspend mode.</td></tr> </table> </dd> </dl> <p>To use this function, you must call before, and in order, <a class="el" href="group__Ecore__X__DPMS__Group.html#ga1f7c26484063ed488792590ef83a25af" title="Sends the DPMSGetTimeouts request.">ecore_x_dpms_timeouts_get_prefetch()</a>, which sends the DPMSGetTimeouts request, then <a class="el" href="group__Ecore__X__DPMS__Group.html#gab45150258267e7390235b42b9597ddfd" title="Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch()...">ecore_x_dpms_timeouts_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>suspend</em> </td><td>Amount of time of inactivity before the screen is placed into suspend mode. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga7b648c34d84859af30563fff3ed1a9f4"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeouts_get" ref="ga7b648c34d84859af30563fff3ed1a9f4" args="(unsigned int *standby, unsigned int *suspend, unsigned int *off)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void ecore_x_dpms_timeouts_get </td> <td>(</td> <td class="paramtype">unsigned int * </td> <td class="paramname"> <em>standby</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int * </td> <td class="paramname"> <em>suspend</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int * </td> <td class="paramname"> <em>off</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the timeouts. </p> <p>The values are in unit of seconds. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>standby</em> </td><td>Amount of time of inactivity before standby mode will be invoked. </td></tr> <tr><td valign="top"></td><td valign="top"><em>suspend</em> </td><td>Amount of time of inactivity before the screen is placed into suspend mode. </td></tr> <tr><td valign="top"></td><td valign="top"><em>off</em> </td><td>Amount of time of inactivity before the monitor is shut off. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="gadcb653306d26c1677a7fff274dda5a51"></a><!-- doxytag: member="ecore_xcb_dpms.c::ecore_x_dpms_timeouts_set" ref="gadcb653306d26c1677a7fff274dda5a51" args="(unsigned int standby, unsigned int suspend, unsigned int off)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI int ecore_x_dpms_timeouts_set </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>standby</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>suspend</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>off</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 timeouts. </p> <p>The values are in unit of seconds. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>standby</em> </td><td>Amount of time of inactivity before standby mode will be invoked. </td></tr> <tr><td valign="top"></td><td valign="top"><em>suspend</em> </td><td>Amount of time of inactivity before the screen is placed into suspend mode. </td></tr> <tr><td valign="top"></td><td valign="top"><em>off</em> </td><td>Amount of time of inactivity before the monitor is shut off. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns always 1.</dd></dl> <p>The values are in unit of seconds. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>standby</em> </td><td>Amount of time of inactivity before standby mode will be invoked. </td></tr> <tr><td valign="top"></td><td valign="top"><em>suspend</em> </td><td>Amount of time of inactivity before the screen is placed into suspend mode. </td></tr> <tr><td valign="top"></td><td valign="top"><em>off</em> </td><td>Amount of time of inactivity before the monitor is shut off. </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>