Sophie

Sophie

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

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/table.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/table.h File Reference</h1><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &lt;xcb/xcb.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="a00036_source.html">data.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for table.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="a00051_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ab074841bfa241556bb0eac4207c7ebd3">CUR_TABLE</a>&nbsp;&nbsp;&nbsp;(<a class="el" href="a00051.html#a6dc99dff7063221c1096561951c0386b">c_ws</a>-&gt;table)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ac120dc3752e8ac2853ddd65d7737a2fd">CUR_CELL</a>&nbsp;&nbsp;&nbsp;(CUR_TABLE[<a class="el" href="a00051.html#a5f839b3ac61c0771c9f8fbef974afe76">current_col</a>][<a class="el" href="a00051.html#a40ba377d6a3a574ff03b859bc7cdd4b0">current_row</a>])</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a0170f5e9d281e27a55c1e4ff4eb6a2ea">TAILQ_HEAD</a> (workspaces_head, <a class="el" href="a00025.html">Workspace</a>)*<a class="el" href="a00076.html#afb45f3a3a9c66c3e3a5e4d372ae24da7">workspaces</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#af025cd3b8bcee08bf8f89ae8c17d5f69">init_table</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialize table.  <a href="#af025cd3b8bcee08bf8f89ae8c17d5f69"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a8fb9ac616cc935e2fd54c6bcb6563df1">expand_table_rows</a> (<a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add one row to the table.  <a href="#a8fb9ac616cc935e2fd54c6bcb6563df1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#aabd77fc80543d15af28744cc7fb65eff">expand_table_rows_at_head</a> (<a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds one row at the head of the table.  <a href="#aabd77fc80543d15af28744cc7fb65eff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#ac58314a435fd187ce2ed416b9dc8019f">expand_table_cols</a> (<a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add one column to the table.  <a href="#ac58314a435fd187ce2ed416b9dc8019f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a64137c62f1c21a49d0f2f2a7a48b50a8">expand_table_cols_at_head</a> (<a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inserts one column at the table’s head.  <a href="#a64137c62f1c21a49d0f2f2a7a48b50a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a35612ca2e7ae4fc1fe4e396957215065">cell_exists</a> (<a class="el" href="a00025.html">Workspace</a> *ws, int col, int row)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performs simple bounds checking for the given column/row.  <a href="#a35612ca2e7ae4fc1fe4e396957215065"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a53709ed2b55f1b76021b0e6c93aae547">cleanup_table</a> (xcb_connection_t *conn, <a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shrinks the table by "compacting" it, that is, removing completely empty rows/columns.  <a href="#a53709ed2b55f1b76021b0e6c93aae547"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#aaeae76f5b6005f3a20a6fb1d8906d8a5">fix_colrowspan</a> (xcb_connection_t *conn, <a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fixes col/rowspan (makes sure there are no overlapping windows).  <a href="#aaeae76f5b6005f3a20a6fb1d8906d8a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a7742dcf527f7676b685abb817d06e2f3">dump_table</a> (xcb_connection_t *conn, <a class="el" href="a00025.html">Workspace</a> *workspace)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prints the table’s contents in human-readable form for debugging.  <a href="#a7742dcf527f7676b685abb817d06e2f3"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a6dc99dff7063221c1096561951c0386b">c_ws</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a5f839b3ac61c0771c9f8fbef974afe76">current_col</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a40ba377d6a3a574ff03b859bc7cdd4b0">current_row</a></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ac120dc3752e8ac2853ddd65d7737a2fd"></a><!-- doxytag: member="table.h::CUR_CELL" ref="ac120dc3752e8ac2853ddd65d7737a2fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CUR_CELL&nbsp;&nbsp;&nbsp;(CUR_TABLE[<a class="el" href="a00051.html#a5f839b3ac61c0771c9f8fbef974afe76">current_col</a>][<a class="el" href="a00051.html#a40ba377d6a3a574ff03b859bc7cdd4b0">current_row</a>])</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00051_source.html#l00021">21</a> of file <a class="el" href="a00051_source.html">table.h</a>.</p>

<p>Referenced by <a class="el" href="a00059_source.html#l00060">button_press_stackwin()</a>, <a class="el" href="a00076_source.html#l00319">cleanup_table()</a>, <a class="el" href="a00061_source.html#l00084">focus_thing()</a>, <a class="el" href="a00067_source.html#l00770">handle_expose_event()</a>, <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, <a class="el" href="a00061_source.html#l00950">parse_command()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, <a class="el" href="a00061_source.html#l00484">snap_current_container()</a>, <a class="el" href="a00061_source.html#l00780">travel_focus_stack()</a>, and <a class="el" href="a00078_source.html#l00113">workspace_show()</a>.</p>

</div>
</div>
<a class="anchor" id="ab074841bfa241556bb0eac4207c7ebd3"></a><!-- doxytag: member="table.h::CUR_TABLE" ref="ab074841bfa241556bb0eac4207c7ebd3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CUR_TABLE&nbsp;&nbsp;&nbsp;(<a class="el" href="a00051.html#a6dc99dff7063221c1096561951c0386b">c_ws</a>-&gt;table)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00051_source.html#l00020">20</a> of file <a class="el" href="a00051_source.html">table.h</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, and <a class="el" href="a00061_source.html#l00484">snap_current_container()</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a35612ca2e7ae4fc1fe4e396957215065"></a><!-- doxytag: member="table.h::cell_exists" ref="a35612ca2e7ae4fc1fe4e396957215065" args="(Workspace *ws, int col, int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cell_exists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>ws</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performs simple bounds checking for the given column/row. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00245">245</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>.</p>

<p>Referenced by <a class="el" href="a00076_source.html#l00384">fix_colrowspan()</a>, <a class="el" href="a00059_source.html#l00187">floating_mod_on_tiled_client()</a>, <a class="el" href="a00061_source.html#l00084">focus_thing()</a>, <a class="el" href="a00059_source.html#l00255">handle_button_press()</a>, <a class="el" href="a00061_source.html#l00869">parse_resize_command()</a>, and <a class="el" href="a00061_source.html#l00484">snap_current_container()</a>.</p>

</div>
</div>
<a class="anchor" id="a53709ed2b55f1b76021b0e6c93aae547"></a><!-- doxytag: member="table.h::cleanup_table" ref="a53709ed2b55f1b76021b0e6c93aae547" args="(xcb_connection_t *conn, Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cleanup_table </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shrinks the table by "compacting" it, that is, removing completely empty rows/columns. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00319">319</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00202">Workspace::cols</a>, <a class="el" href="a00051_source.html#l00021">CUR_CELL</a>, <a class="el" href="a00076_source.html#l00037">current_col</a>, <a class="el" href="a00036_source.html#l00211">Workspace::current_col</a>, <a class="el" href="a00076_source.html#l00038">current_row</a>, <a class="el" href="a00036_source.html#l00208">Workspace::current_row</a>, <a class="el" href="a00036_source.html#l00469">Container::currently_focused</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00076_source.html#l00250">free_container()</a>, <a class="el" href="a00076_source.html#l00259">move_columns_from()</a>, <a class="el" href="a00076_source.html#l00279">move_rows_from()</a>, <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>, <a class="el" href="a00077_source.html#l00232">set_focus()</a>, <a class="el" href="a00076_source.html#l00183">shrink_table_cols()</a>, <a class="el" href="a00076_source.html#l00216">shrink_table_rows()</a>, and <a class="el" href="a00036_source.html#l00244">Workspace::table</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, and <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a7742dcf527f7676b685abb817d06e2f3"></a><!-- doxytag: member="table.h::dump_table" ref="a7742dcf527f7676b685abb817d06e2f3" args="(xcb_connection_t *conn, Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dump_table </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints the table’s contents in human-readable form for debugging. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00299">299</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00047_source.html#l00439">CIRCLEQ_FOREACH</a>, <a class="el" href="a00036_source.html#l00469">Container::currently_focused</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00052_source.html#l00026">FOR_TABLE</a>, <a class="el" href="a00036_source.html#l00387">Client::name</a>, and <a class="el" href="a00036_source.html#l00244">Workspace::table</a>.</p>

</div>
</div>
<a class="anchor" id="ac58314a435fd187ce2ed416b9dc8019f"></a><!-- doxytag: member="table.h::expand_table_cols" ref="ac58314a435fd187ce2ed416b9dc8019f" args="(Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void expand_table_cols </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add one column to the table. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00127">127</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00202">Workspace::cols</a>, <a class="el" href="a00062_source.html#l00037">config</a>, <a class="el" href="a00034_source.html#l00091">Config::container_mode</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, <a class="el" href="a00076_source.html#l00054">new_container()</a>, <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>, <a class="el" href="a00077_source.html#l00074">scalloc()</a>, <a class="el" href="a00077_source.html#l00347">switch_layout_mode()</a>, <a class="el" href="a00036_source.html#l00244">Workspace::table</a>, and <a class="el" href="a00036_source.html#l00250">Workspace::width_factor</a>.</p>

<p>Referenced by <a class="el" href="a00071_source.html#l00193">main()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, and <a class="el" href="a00078_source.html#l00039">workspace_get()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a64137c62f1c21a49d0f2f2a7a48b50a8"></a><!-- doxytag: member="table.h::expand_table_cols_at_head" ref="a64137c62f1c21a49d0f2f2a7a48b50a8" args="(Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void expand_table_cols_at_head </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inserts one column at the table’s head. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00147">147</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00475">Container::col</a>, <a class="el" href="a00036_source.html#l00202">Workspace::cols</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00076_source.html#l00054">new_container()</a>, <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>, <a class="el" href="a00077_source.html#l00074">scalloc()</a>, <a class="el" href="a00036_source.html#l00244">Workspace::table</a>, and <a class="el" href="a00036_source.html#l00250">Workspace::width_factor</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, and <a class="el" href="a00061_source.html#l00312">move_current_window()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a8fb9ac616cc935e2fd54c6bcb6563df1"></a><!-- doxytag: member="table.h::expand_table_rows" ref="a8fb9ac616cc935e2fd54c6bcb6563df1" args="(Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void expand_table_rows </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add one row to the table. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00073">73</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00202">Workspace::cols</a>, <a class="el" href="a00062_source.html#l00037">config</a>, <a class="el" href="a00034_source.html#l00091">Config::container_mode</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, <a class="el" href="a00036_source.html#l00251">Workspace::height_factor</a>, <a class="el" href="a00076_source.html#l00054">new_container()</a>, <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>, <a class="el" href="a00077_source.html#l00347">switch_layout_mode()</a>, and <a class="el" href="a00036_source.html#l00244">Workspace::table</a>.</p>

<p>Referenced by <a class="el" href="a00071_source.html#l00193">main()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, and <a class="el" href="a00078_source.html#l00039">workspace_get()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="aabd77fc80543d15af28744cc7fb65eff"></a><!-- doxytag: member="table.h::expand_table_rows_at_head" ref="aabd77fc80543d15af28744cc7fb65eff" args="(Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void expand_table_rows_at_head </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds one row at the head of the table. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00095">95</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00202">Workspace::cols</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00036_source.html#l00251">Workspace::height_factor</a>, <a class="el" href="a00076_source.html#l00054">new_container()</a>, <a class="el" href="a00036_source.html#l00474">Container::row</a>, <a class="el" href="a00036_source.html#l00204">Workspace::rows</a>, and <a class="el" href="a00036_source.html#l00244">Workspace::table</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, and <a class="el" href="a00061_source.html#l00312">move_current_window()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="aaeae76f5b6005f3a20a6fb1d8906d8a5"></a><!-- doxytag: member="table.h::fix_colrowspan" ref="aaeae76f5b6005f3a20a6fb1d8906d8a5" args="(xcb_connection_t *conn, Workspace *workspace)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fix_colrowspan </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a> *&nbsp;</td>
          <td class="paramname"> <em>workspace</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fixes col/rowspan (makes sure there are no overlapping windows). </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00384">384</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00076_source.html#l00245">cell_exists()</a>, <a class="el" href="a00036_source.html#l00470">Container::colspan</a>, <a class="el" href="a00036_source.html#l00469">Container::currently_focused</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00052_source.html#l00026">FOR_TABLE</a>, <a class="el" href="a00036_source.html#l00471">Container::rowspan</a>, and <a class="el" href="a00036_source.html#l00244">Workspace::table</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, and <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="af025cd3b8bcee08bf8f89ae8c17d5f69"></a><!-- doxytag: member="table.h::init_table" ref="af025cd3b8bcee08bf8f89ae8c17d5f69" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void init_table </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize table. </p>

<p>Definition at line <a class="el" href="a00076_source.html#l00044">44</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>References <a class="el" href="a00077_source.html#l00074">scalloc()</a>, <a class="el" href="a00047_source.html#l00348">TAILQ_INIT</a>, <a class="el" href="a00047_source.html#l00363">TAILQ_INSERT_TAIL</a>, <a class="el" href="a00078_source.html#l00078">workspace_set_name()</a>, and <a class="el" href="a00076_source.html#l00034">workspaces</a>.</p>

<p>Referenced by <a class="el" href="a00071_source.html#l00193">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a0170f5e9d281e27a55c1e4ff4eb6a2ea"></a><!-- doxytag: member="table.h::TAILQ_HEAD" ref="a0170f5e9d281e27a55c1e4ff4eb6a2ea" args="(workspaces_head, Workspace)*workspaces" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TAILQ_HEAD </td>
          <td>(</td>
          <td class="paramtype">workspaces_head&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00025.html">Workspace</a>&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a6dc99dff7063221c1096561951c0386b"></a><!-- doxytag: member="table.h::c_ws" ref="a6dc99dff7063221c1096561951c0386b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00025.html">Workspace</a>* <a class="el" href="a00051.html#a6dc99dff7063221c1096561951c0386b">c_ws</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00076_source.html#l00036">36</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>Referenced by <a class="el" href="a00059_source.html#l00128">button_press_bar()</a>, <a class="el" href="a00067_source.html#l00133">check_crossing_screen_boundary()</a>, <a class="el" href="a00069_source.html#l00098">decorate_window()</a>, <a class="el" href="a00065_source.html#l00031">ewmh_update_current_desktop()</a>, <a class="el" href="a00061_source.html#l00084">focus_thing()</a>, <a class="el" href="a00067_source.html#l00292">handle_configure_request()</a>, <a class="el" href="a00067_source.html#l00173">handle_enter_notify()</a>, <a class="el" href="a00067_source.html#l00994">handle_hints()</a>, <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00068_source.html#l00178">IPC_HANDLER()</a>, <a class="el" href="a00061_source.html#l00738">jump_to_container()</a>, <a class="el" href="a00071_source.html#l00193">main()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00061_source.html#l00566">move_floating_window_to_workspace()</a>, <a class="el" href="a00061_source.html#l00831">next_previous_workspace()</a>, <a class="el" href="a00061_source.html#l00950">parse_command()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, <a class="el" href="a00077_source.html#l00232">set_focus()</a>, <a class="el" href="a00061_source.html#l00780">travel_focus_stack()</a>, <a class="el" href="a00078_source.html#l00223">workspace_assign_to()</a>, <a class="el" href="a00078_source.html#l00113">workspace_show()</a>, and <a class="el" href="a00078_source.html#l00375">workspace_unmap_clients()</a>.</p>

</div>
</div>
<a class="anchor" id="a5f839b3ac61c0771c9f8fbef974afe76"></a><!-- doxytag: member="table.h::current_col" ref="a5f839b3ac61c0771c9f8fbef974afe76" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00051.html#a5f839b3ac61c0771c9f8fbef974afe76">current_col</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00076_source.html#l00037">37</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00133">check_crossing_screen_boundary()</a>, <a class="el" href="a00076_source.html#l00319">cleanup_table()</a>, <a class="el" href="a00061_source.html#l00084">focus_thing()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00069_source.html#l00348">render_container()</a>, <a class="el" href="a00077_source.html#l00232">set_focus()</a>, and <a class="el" href="a00078_source.html#l00113">workspace_show()</a>.</p>

</div>
</div>
<a class="anchor" id="a40ba377d6a3a574ff03b859bc7cdd4b0"></a><!-- doxytag: member="table.h::current_row" ref="a40ba377d6a3a574ff03b859bc7cdd4b0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00051.html#a40ba377d6a3a574ff03b859bc7cdd4b0">current_row</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00076_source.html#l00038">38</a> of file <a class="el" href="a00076_source.html">table.c</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00133">check_crossing_screen_boundary()</a>, <a class="el" href="a00076_source.html#l00319">cleanup_table()</a>, <a class="el" href="a00061_source.html#l00084">focus_thing()</a>, <a class="el" href="a00061_source.html#l00406">move_current_container()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00069_source.html#l00348">render_container()</a>, <a class="el" href="a00077_source.html#l00232">set_focus()</a>, and <a class="el" href="a00078_source.html#l00113">workspace_show()</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>