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

FX::FXToolBarGrip Class Reference

A toolbar grip is used to move its parent [an FXToolBar]. More...

#include <FXToolBarGrip.h>

Inheritance diagram for FX::FXToolBarGrip:

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

Public Member Functions

 FXToolBarGrip (FXToolBar *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=TOOLBARGRIP_SINGLE, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setDoubleBar (FXbool dbl=TRUE)
FXbool isDoubleBar () const
void setHiliteColor (FXColor clr)
FXColor getHiliteColor () const
void setShadowColor (FXColor clr)
FXColor getShadowColor () const
void setActiveColor (FXColor clr)
FXColor getActiveColor () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)

Detailed Description

A toolbar grip is used to move its parent [an FXToolBar].

The grip draws either a single or double bar; it is customary to use the single bar grip for toolbar-rearrangements only, and use the double-bar when the toolbar needs to be floated or docked. The toolbar grip is automatically oriented properly by the the toolbar widget.

See also:


Constructor & Destructor Documentation

FX::FXToolBarGrip::FXToolBarGrip FXToolBar p,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = TOOLBARGRIP_SINGLE,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0
 

Construct toolbar grip.


Member Function Documentation

virtual FXint FX::FXToolBarGrip::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXWindow.

virtual FXint FX::FXToolBarGrip::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXWindow.

void FX::FXToolBarGrip::setDoubleBar FXbool  dbl = TRUE  ) 
 

Change toolbar grip to double.

FXbool FX::FXToolBarGrip::isDoubleBar  )  const
 

Return TRUE if toolbar grip is displayed as a double bar.

void FX::FXToolBarGrip::setHiliteColor FXColor  clr  ) 
 

Change highlight color.

FXColor FX::FXToolBarGrip::getHiliteColor  )  const [inline]
 

Get highlight color.

void FX::FXToolBarGrip::setShadowColor FXColor  clr  ) 
 

Change shadow color.

FXColor FX::FXToolBarGrip::getShadowColor  )  const [inline]
 

Get shadow color.

void FX::FXToolBarGrip::setActiveColor FXColor  clr  ) 
 

Set the active color.

FXColor FX::FXToolBarGrip::getActiveColor  )  const [inline]
 

Get the active color.

virtual void FX::FXToolBarGrip::save FXStream store  )  const [virtual]
 

Save to stream.

Reimplemented from FX::FXWindow.

virtual void FX::FXToolBarGrip::load FXStream store  )  [virtual]
 

Load from stream.

Reimplemented from FX::FXWindow.

Copyright © 1997-2004 Jeroen van der Zijp