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

FX::FXToolBarTab Class Reference

#include <FXToolBarTab.h>

Inheritance diagram for FX::FXToolBarTab:
FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXToolBarTab (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_RAISED, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
virtual bool canFocus () const
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
virtual void enable ()
virtual void disable ()
void collapse (FXbool fold, FXbool notify=FALSE)
FXbool isCollapsed () const
void setTabStyle (FXuint style)
FXuint getTabStyle () const
FXColor getActiveColor () const
void setActiveColor (FXColor clr)
void setTipText (const FXString &text)
const FXStringgetTipText () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)

Detailed Description

A toolbar tab is used to collapse or uncollapse a sibling widget.

The sibling affected is the widget immediately following the toolbar tab or, if the toolbar tab is the last widget in the list, the widget immediately preceding the toolbar tab.

See also:


Constructor & Destructor Documentation

FX::FXToolBarTab::FXToolBarTab ( FXComposite p,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = FRAME_RAISED,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0 
)

Construct toolbar tab.


Member Function Documentation

virtual bool FX::FXToolBarTab::canFocus ( ) const [virtual]

Toolbar tab can receive focus.

Reimplemented from FX::FXWindow.

Return default width.

Reimplemented from FX::FXFrame.

Return default height.

Reimplemented from FX::FXFrame.

virtual void FX::FXToolBarTab::enable ( ) [virtual]

Enable the toolbar tab.

Reimplemented from FX::FXWindow.

virtual void FX::FXToolBarTab::disable ( ) [virtual]

Disable the toolbar tab.

Reimplemented from FX::FXWindow.

void FX::FXToolBarTab::collapse ( FXbool  fold,
FXbool  notify = FALSE 
)

Collapse or uncollapse the toolbar.

Return true if the toolbar is collapsed.

Change the tab style.

Get current tab style.

Get the active color.

Set the active color.

void FX::FXToolBarTab::setTipText ( const FXString text) [inline]

Set the tool tip message for the toolbar tab.

const FXString& FX::FXToolBarTab::getTipText ( ) const [inline]

Get the tool tip message for the toolbar tab.

virtual void FX::FXToolBarTab::save ( FXStream store) const [virtual]

Save to a stream.

Reimplemented from FX::FXFrame.

virtual void FX::FXToolBarTab::load ( FXStream store) [virtual]

Load from a stream.

Reimplemented from FX::FXFrame.

Copyright © 1997-2005 Jeroen van der Zijp