![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXTabItem.h>
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) |
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:
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.
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.
![]() |