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 Methods

 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.

virtual FXbool canFocus () const
 Toolbar tab can receive focus.

virtual FXint getDefaultWidth ()
 Return default width.

virtual FXint getDefaultHeight ()
 Return default height.

virtual void enable ()
 Enable the toolbar tab.

virtual void disable ()
 Disable the toolbar tab.

void collapse (FXbool c=TRUE)
 Collapse or uncollapse the toolbar.

FXbool isCollapsed () const
 Return true if the toolbar is collapsed.

void setTabStyle (FXuint style)
 Change the tab style.

FXuint getTabStyle () const
 Get current tab style.

FXColor getActiveColor () const
 Get the active color.

void setActiveColor (FXColor clr)
 Set the active color.

virtual void save (FXStream &store) const
 Save to a stream.

virtual void load (FXStream &store)
 Load from a stream.


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: