Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXTabBar.h>
Inheritance diagram for FX::FXTabBar:
Public Types | |
enum | { ID_OPEN_ITEM = FXPacker::ID_LAST, ID_OPEN_FIRST, ID_OPEN_SECOND, ID_OPEN_THIRD, ID_OPEN_FOURTH, ID_OPEN_FIFTH, ID_OPEN_SIXTH, ID_OPEN_SEVENTH, ID_OPEN_EIGHTH, ID_OPEN_NINETH, ID_OPEN_TENTH, ID_OPEN_LAST = ID_OPEN_FIRST+100, ID_LAST } |
Public Member Functions | |
FXTabBar (FXComposite *p, FXObject *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) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
virtual void | setCurrent (FXint panel, FXbool notify=FALSE) |
FXint | getCurrent () const |
FXuint | getTabStyle () const |
void | setTabStyle (FXuint style) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
In a the horizontal arrangement, the tab bar can have the tab items on the top or on the bottom. In the vertical arrangement, the tabs can be on the left or on the right. When one of the tab items is pressed, the tab bar's setCurrent() is called with notify=TRUE. Thus causes the tab bar to send a SEL_COMMAND message to its target.
See also:
|
|
|
Construct a tab bar.
|
|
Return default width.
Reimplemented from FX::FXPacker. Reimplemented in FX::FXTabBook. |
|
Return default height.
Reimplemented from FX::FXPacker. Reimplemented in FX::FXTabBook. |
|
Perform layout.
Reimplemented from FX::FXPacker. Reimplemented in FX::FXTabBook. |
|
Change currently active tab item; this raises the active tab item slightly above the neighboring tab items. If notify=TRUE then the tab bar will also send a SEL_COMMAND message to its target. |
|
Return the currently active tab item.
|
|
Return tab bar style.
|
|
Change tab tab style.
|
|
Save to stream.
Reimplemented from FX::FXPacker. |
|
Load from stream.
Reimplemented from FX::FXPacker. |
Copyright © 1997-2005 Jeroen van der Zijp |