![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXToolTip.h>
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) |
FXFont * | getFont () const |
FXColor | getTextColor () const |
void | setTextColor (FXColor clr) |
virtual bool | doesSaveUnder () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXToolTip () |
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.
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 bool FX::FXToolTip::doesSaveUnder | ( | ) | const [virtual] |
Reimplemented from FX::FXWindow.
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.
![]() |