Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > c67c6057ffd14254a26624517a2352e6 > files > 77

i3-doc-3.e-3.bf1.fc14.noarch.rpm

<!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: include/container.h 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&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>include/container.h File Reference</h1><code>#include &quot;<a class="el" href="a00036_source.html">data.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for container.h:</div>
<div class="dynsection">
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
</div>

<p><a href="a00035_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00035.html#a613f019bb3d6960b1ff386eca5316158">container_mode</a> (<a class="el" href="a00013.html">Container</a> *con, bool for_frame)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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.h::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> *&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>for_frame</em></td><td>&nbsp;</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&nbsp;
<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>