Sophie

Sophie

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

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::FXTabItem Class Reference</h1>A tab item is placed in a tab bar or tab book.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FXTabItem_8h-source.html">FXTabItem.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FX::FXTabItem:
<p><center><img src="classFX_1_1FXTabItem.png" usemap="#FX::FXTabItem_map" border="0" alt=""></center>
<map name="FX::FXTabItem_map">
<area href="classFX_1_1FXLabel.html" alt="FX::FXLabel" shape="rect" coords="0,280,106,304">
<area href="classFX_1_1FXFrame.html" alt="FX::FXFrame" shape="rect" coords="0,224,106,248">
<area href="classFX_1_1FXWindow.html" alt="FX::FXWindow" shape="rect" coords="0,168,106,192">
<area href="classFX_1_1FXDrawable.html" alt="FX::FXDrawable" shape="rect" coords="0,112,106,136">
<area href="classFX_1_1FXId.html" alt="FX::FXId" shape="rect" coords="0,56,106,80">
<area href="classFX_1_1FXObject.html" alt="FX::FXObject" shape="rect" coords="0,0,106,24">
</map>
<a href="classFX_1_1FXTabItem-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_1FXTabItem.html#a0">FXTabItem</a> (<a class="el" href="classFX_1_1FXTabBar.html">FXTabBar</a> *p, const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;text, <a class="el" href="classFX_1_1FXIcon.html">FXIcon</a> *ic=0, FXuint opts=TAB_TOP_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)</td></tr>

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

<tr><td class="memItemLeft" nowrap align=right valign=top>FXuint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabItem.html#a2">getTabOrientation</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXTabItem.html#a3">setTabOrientation</a> (FXuint style)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A tab item is placed in a tab bar or tab book. 
<p>
When selected, the tab item sends a message to its parent, and causes itself to become the active tab, and raised slightly above the other tabs. In the tab book, activating a tab item also causes the corresponding panel to be raised to the top.<p>
See also: <ul>
<li><a class="el" href="group__FXTabItem__0.html">Tab Item orientations which affect border</a>. </li>
</ul>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FX::FXTabItem::FXTabItem"></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::FXTabItem::FXTabItem </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXTabBar.html">FXTabBar</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>p</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>text</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classFX_1_1FXIcon.html">FXIcon</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>ic</em> = 0, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXuint&nbsp;</td>
          <td class="mdname" nowrap> <em>opts</em> = TAB_TOP_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_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pr</em> = DEFAULT_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pt</em> = DEFAULT_PAD, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>pb</em> = DEFAULT_PAD</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 a tab item. 
<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="FX::FXTabItem::canFocus"></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 FXbool FX::FXTabItem::canFocus </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> const<code> [virtual]</code></td>
        </tr>

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

<p>
Returns true because a tab item can receive focus. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXWindow.html#a50">FX::FXWindow</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="FX::FXTabItem::getTabOrientation"></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"> FXuint FX::FXTabItem::getTabOrientation </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> const</td>
        </tr>

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

<p>
Return current tab item orientation. 
<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="FX::FXTabItem::setTabOrientation"></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"> void FX::FXTabItem::setTabOrientation </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXuint&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>style</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

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

<p>
Change tab item orientation. 
<p>
    </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>