<!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>i3: src/container.c File 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.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="contents"> <h1>src/container.c File Reference</h1><code>#include "<a class="el" href="a00036_source.html">data.h</a>"</code><br/> <code>#include "<a class="el" href="a00044_source.html">log.h</a>"</code><br/> <div class="dynheader"> Include dependency graph for container.c:</div> <div class="dynsection"> </div> <p><a href="a00063_source.html">Go to the source code of this file.</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">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00063.html#a613f019bb3d6960b1ff386eca5316158">container_mode</a> (<a class="el" href="a00013.html">Container</a> *con, bool for_frame)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the mode of the given container (or MODE_DEFAULT if a NULL pointer was passed in order to save a few explicit checks in other places). <a href="#a613f019bb3d6960b1ff386eca5316158"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a613f019bb3d6960b1ff386eca5316158"></a><!-- doxytag: member="container.c::container_mode" ref="a613f019bb3d6960b1ff386eca5316158" args="(Container *con, bool for_frame)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int container_mode </td> <td>(</td> <td class="paramtype"><a class="el" href="a00013.html">Container</a> * </td> <td class="paramname"> <em>con</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>for_frame</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the mode of the given container (or MODE_DEFAULT if a NULL pointer was passed in order to save a few explicit checks in other places). </p> <p>If for_frame was set to true, the special case of having exactly one client in a container is handled so that MODE_DEFAULT is returned. For some parts of the rendering, this is interesting, other parts need the real mode. </p> <p>Definition at line <a class="el" href="a00063_source.html#l00023">23</a> of file <a class="el" href="a00063_source.html">container.c</a>.</p> <p>References <a class="el" href="a00047_source.html#l00439">CIRCLEQ_FOREACH</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, and <a class="el" href="a00013.html#ac094306ab77e360742aba04d7cbd0fe6">Container::mode</a>.</p> <p>Referenced by <a class="el" href="a00069_source.html#l00098">decorate_window()</a>, <a class="el" href="a00067_source.html#l00770">handle_expose_event()</a>, <a class="el" href="a00067_source.html#l00603">handle_windowname_change()</a>, and <a class="el" href="a00069_source.html#l00248">resize_client()</a>.</p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>