![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXToolBarGrip.h>
Public Member Functions | |
FXToolBarGrip (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=TOOLBARGRIP_SINGLE, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual bool | canFocus () const |
void | setDoubleBar (FXbool dbl=TRUE) |
FXbool | isDoubleBar () const |
void | setActiveColor (FXColor clr) |
FXColor | getActiveColor () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
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, similar to the FXSeparator widget. Holding the Control Key while dragging the grip will prevent the toolbar from docking when it is near a dock site.
See also:
FX::FXToolBarGrip::FXToolBarGrip | ( | FXComposite * | p, | |
FXObject * | tgt = NULL , |
|||
FXSelector | sel = 0 , |
|||
FXuint | opts = TOOLBARGRIP_SINGLE , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 , |
|||
FXint | pl = 0 , |
|||
FXint | pr = 0 , |
|||
FXint | pt = 0 , |
|||
FXint | pb = 0 | |||
) |
Construct toolbar grip.
virtual FXint FX::FXToolBarGrip::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXToolBarGrip::getDefaultHeight | ( | ) | [virtual] |
virtual bool FX::FXToolBarGrip::canFocus | ( | ) | const [virtual] |
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::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] |
virtual void FX::FXToolBarGrip::load | ( | FXStream & | store | ) | [virtual] |
![]() |