![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXLabel.h>
Inheritance diagram for FX::FXLabel:
Public Methods | |
FXLabel (FXComposite *p, const FXString &text, FXIcon *ic=0, FXuint opts=LABEL_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
Construct label with given text and icon. | |
virtual void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach server-side resources. | |
virtual void | enable () |
Enable the window. | |
virtual void | disable () |
Disable the window. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
void | setText (const FXString &text) |
Set the text for this label. | |
FXString | getText () const |
Get the text for this label. | |
void | setIcon (FXIcon *ic) |
Set the icon for this label. | |
FXIcon * | getIcon () const |
Get the icon for this label. | |
void | setFont (FXFont *fnt) |
Set the text font. | |
FXFont * | getFont () const |
Get the text font. | |
FXColor | getTextColor () const |
Get the current text color. | |
void | setTextColor (FXColor clr) |
Set the current text color. | |
void | setJustify (FXuint mode) |
Set the current text-justification mode. | |
FXuint | getJustify () const |
Get the current text-justification mode. | |
void | setIconPosition (FXuint mode) |
Set the current icon position. | |
FXuint | getIconPosition () const |
Get the current icon position. | |
void | setHelpText (const FXString &text) |
Set the status line help text for this label. | |
const FXString & | getHelpText () const |
Get the status line help text for this label. | |
void | setTipText (const FXString &text) |
Set the tool tip message for this label. | |
const FXString & | getTipText () const |
Get the tool tip message for this label. | |
virtual void | save (FXStream &store) const |
Save label to a stream. | |
virtual void | load (FXStream &store) |
Load label from a stream. | |
virtual | ~FXLabel () |
Destructor. |
See also: