Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXTabItem Class Reference

A tab item is placed in a tab bar or tab book. More...

#include <FXTabItem.h>

Inheritance diagram for FX::FXTabItem:

FX::FXLabel FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXTabItem (FXTabBar *p, const FXString &text, FXIcon *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)
virtual bool canFocus () const
FXuint getTabOrientation () const
void setTabOrientation (FXuint style)

Detailed Description

A tab item is placed in a tab bar or tab book.

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.

See also:


Constructor & Destructor Documentation

FX::FXTabItem::FXTabItem FXTabBar p,
const FXString text,
FXIcon 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
 

Construct a tab item.


Member Function Documentation

virtual bool FX::FXTabItem::canFocus  )  const [virtual]
 

Returns true because a tab item can receive focus.

Reimplemented from FX::FXWindow.

FXuint FX::FXTabItem::getTabOrientation  )  const
 

Return current tab item orientation.

void FX::FXTabItem::setTabOrientation FXuint  style  ) 
 

Change tab item orientation.

Copyright © 1997-2005 Jeroen van der Zijp