Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > af7a4b7f1ee5a4a084c41b9005da5527 > files > 1051

libfox1.1_46-devel-1.1.46-1mdk.i586.rpm

<html>
<head>
<link rel="stylesheet" href="page.css" type="text/css">
<title>fox-toolkit.org - Documentation</title>
</head>
<body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000>
<font face='verdana,sans-serif' size=2 >

<!---- TOPIC TITLE WITH LOGO--->
<table border=0 cellpadding= cellspacing=2 width=100% ><tr><td><a href='http://www.fox-toolkit.org/doc.html'><img src='../art/foxlogo_small.jpg' border=0></a></td><td width=100% valign=bottom><font face='verdana,sans-serif' size=2 ><b>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a>
<br><img src='../art/line.gif' width=100% height=1></b></font></td></tr></table>
<p>
<!--- TOPIC TITLE WITH LOGO --->
<!-- Generated by Doxygen 1.3.3 -->
<h1>FX::FXTabBook Class Reference</h1>The tab book layout manager arranges pairs of children; the even numbered children (0,2,4,...) are usually tab items, and are placed on the top.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FXTabBook_8h-source.html">FXTabBook.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FX::FXTabBook:
<p><center><img src="classFX_1_1FXTabBook.png" usemap="#FX::FXTabBook_map" border="0" alt=""></center>
<map name="FX::FXTabBook_map">
<area href="classFX_1_1FXTabBar.html" alt="FX::FXTabBar" shape="rect" coords="0,336,110,360">
<area href="classFX_1_1FXPacker.html" alt="FX::FXPacker" shape="rect" coords="0,280,110,304">
<area href="classFX_1_1FXComposite.html" alt="FX::FXComposite" shape="rect" coords="0,224,110,248">
<area href="classFX_1_1FXWindow.html" alt="FX::FXWindow" shape="rect" coords="0,168,110,192">
<area href="classFX_1_1FXDrawable.html" alt="FX::FXDrawable" shape="rect" coords="0,112,110,136">
<area href="classFX_1_1FXId.html" alt="FX::FXId" shape="rect" coords="0,56,110,80">
<area href="classFX_1_1FXObject.html" alt="FX::FXObject" shape="rect" coords="0,0,110,24">
</map>
<a href="classFX_1_1FXTabBook-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabBook.html#a0">FXTabBook</a> (<a class="el" href="classFX_1_1FXComposite.html">FXComposite</a> *p, <a class="el" href="classFX_1_1FXObject.html">FXObject</a> *tgt=NULL, FXSelector sel=0, FXuint opts=TABBOOK_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_SPACING, FXint pr=DEFAULT_SPACING, FXint pt=DEFAULT_SPACING, FXint pb=DEFAULT_SPACING)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabBook.html#a1">layout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabBook.html#a2">getDefaultWidth</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabBook.html#a3">getDefaultHeight</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The tab book layout manager arranges pairs of children; the even numbered children (0,2,4,...) are usually tab items, and are placed on the top. 
<p>
The odd numbered children are usually layout managers, and are placed below; all the odd numbered children are placed on top of each other, similar to the switcher widget. When the user presses one of the tab items, the tab item is raised above the neighboring tabs, and the corresponding panel is raised to the top. Thus, a tab book can be used to present many GUI controls in a small space by placing several panels on top of each other and using tab items to select the desired panel. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FX::FXTabBook::FXTabBook"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> FX::FXTabBook::FXTabBook </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXComposite.html">FXComposite</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>p</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classFX_1_1FXObject.html">FXObject</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>tgt</em> = NULL, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXSelector&nbsp;</td>
          <td class="mdname" nowrap> <em>sel</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXuint&nbsp;</td>
          <td class="mdname" nowrap> <em>opts</em> = TABBOOK_NORMAL, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>w</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>h</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pl</em> = DEFAULT_SPACING, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pr</em> = DEFAULT_SPACING, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pt</em> = DEFAULT_SPACING, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pb</em> = DEFAULT_SPACING</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct tab book. 
<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="FX::FXTabBook::layout"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void FX::FXTabBook::layout </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Perform layout. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXTabBar.html#a3">FX::FXTabBar</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="FX::FXTabBook::getDefaultWidth"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXint FX::FXTabBook::getDefaultWidth </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return default width. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXTabBar.html#a1">FX::FXTabBar</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="FX::FXTabBook::getDefaultHeight"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual FXint FX::FXTabBook::getDefaultHeight </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return default height. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXTabBar.html#a2">FX::FXTabBar</a>.    </td>
  </tr>
</table>
</font>

<!--- COPYRIGHT -->
<p>
<table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right>
<img src='../art/line.gif' width=100% height=1><font size=-1>
Copyright &copy; 1997-2004 Jeroen van der Zijp</font>
</td></tr></table>
</p>
<!--- COPYRIGHT -->
</body>
</html>