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

FX::FXDockTitle Class Reference

A dock title is used to move its container, a dock bar. More...

#include <FXDockTitle.h>

Inheritance diagram for FX::FXDockTitle:

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

Public Member Functions

 FXDockTitle (FXComposite *p, const FXString &text, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, 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 void create ()
virtual void detach ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setCaption (const FXString &text)
FXString getCaption () const
void setFont (FXFont *fnt)
FXFontgetFont () const
FXColor getCaptionColor () const
void setCaptionColor (FXColor clr)
void setJustify (FXuint mode)
FXuint getJustify () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXDockTitle ()

Detailed Description

A dock title is used to move its container, a dock bar.

The dock title is also used simultaneously to provide a caption above the dock bar.


Constructor & Destructor Documentation

FX::FXDockTitle::FXDockTitle FXComposite p,
const FXString text,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y,
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 dock bar title widget.

virtual FX::FXDockTitle::~FXDockTitle  )  [virtual]
 

Destroy.


Member Function Documentation

virtual void FX::FXDockTitle::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXWindow.

virtual void FX::FXDockTitle::detach  )  [virtual]
 

Detach server-side resources.

Reimplemented from FX::FXWindow.

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

Return default width.

Reimplemented from FX::FXFrame.

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

Return default height.

Reimplemented from FX::FXFrame.

void FX::FXDockTitle::setCaption const FXString text  ) 
 

Set the caption for the grip.

FXString FX::FXDockTitle::getCaption  )  const [inline]
 

Get the caption for the grip.

void FX::FXDockTitle::setFont FXFont fnt  ) 
 

Set caption font.

FXFont* FX::FXDockTitle::getFont  )  const [inline]
 

Get caption font.

FXColor FX::FXDockTitle::getCaptionColor  )  const [inline]
 

Get the current caption color.

void FX::FXDockTitle::setCaptionColor FXColor  clr  ) 
 

Set the current caption color.

void FX::FXDockTitle::setJustify FXuint  mode  ) 
 

Set the current justification mode.

FXuint FX::FXDockTitle::getJustify  )  const
 

Get the current justification mode.

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

Save to stream.

Reimplemented from FX::FXDockHandler.

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

Load from stream.

Reimplemented from FX::FXDockHandler.

Copyright © 1997-2005 Jeroen van der Zijp