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

FX::FXToolTip Class Reference

Hopefully Helpful Hint message. More...

#include <FXToolTip.h>

Inheritance diagram for FX::FXToolTip:

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

Public Member Functions

 FXToolTip (FXApp *a, FXuint opts=TOOLTIP_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
virtual void create ()
virtual void detach ()
virtual void show ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setText (const FXString &text)
FXString getText () const
void setFont (FXFont *fnt)
FXFontgetFont () const
FXColor getTextColor () const
void setTextColor (FXColor clr)
virtual FXbool doesSaveUnder () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXToolTip ()

Detailed Description

Hopefully Helpful Hint message.

See also:


Constructor & Destructor Documentation

FX::FXToolTip::FXToolTip FXApp a,
FXuint  opts = TOOLTIP_NORMAL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0
 

Construct a tool tip.

virtual FX::FXToolTip::~FXToolTip  )  [virtual]
 

Destructor.


Member Function Documentation

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

Create server-side resources.

Reimplemented from FX::FXShell.

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

Detach server-side resources.

Reimplemented from FX::FXComposite.

virtual void FX::FXToolTip::show  )  [virtual]
 

Display the tip.

Reimplemented from FX::FXWindow.

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

Return default width.

Reimplemented from FX::FXComposite.

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

Return default height.

Reimplemented from FX::FXComposite.

void FX::FXToolTip::setText const FXString text  ) 
 

Set the text for this tip.

FXString FX::FXToolTip::getText  )  const [inline]
 

Get the text for this tip.

void FX::FXToolTip::setFont FXFont fnt  ) 
 

Set the tip text font.

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

Get the tip text font.

FXColor FX::FXToolTip::getTextColor  )  const [inline]
 

Get the current tip text color.

void FX::FXToolTip::setTextColor FXColor  clr  ) 
 

Set the current tip text color.

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

Save tip to a stream.

Reimplemented from FX::FXWindow.

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

Load tip from a stream.

Reimplemented from FX::FXWindow.

Copyright © 1997-2004 Jeroen van der Zijp