Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXLabel.h>
Inheritance diagram for FX::FXLabel:
Public Member Functions | |
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) | |
virtual void | create () |
virtual void | detach () |
virtual void | enable () |
virtual void | disable () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setText (const FXString &text) |
FXString | getText () const |
void | setIcon (FXIcon *ic) |
FXIcon * | getIcon () const |
void | setFont (FXFont *fnt) |
FXFont * | getFont () const |
FXColor | getTextColor () const |
void | setTextColor (FXColor clr) |
void | setJustify (FXuint mode) |
FXuint | getJustify () const |
void | setIconPosition (FXuint mode) |
FXuint | getIconPosition () const |
void | setHelpText (const FXString &text) |
const FXString & | getHelpText () const |
void | setTipText (const FXString &text) |
const FXString & | getTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXLabel () |
The text label may have an optional tooltip and/or help string. Icon and label are placed relative to the widget using the justfication options, and relative to each other as determined by the icon relationship options. A large number of arrangements is possible.
See also:
|
Construct label with given text and icon.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXMenuButton, FX::FXOptionMenu, FX::FXToggleButton, and FX::FXTriStateButton. |
|
Detach server-side resources.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXMenuButton, FX::FXOptionMenu, FX::FXToggleButton, and FX::FXTriStateButton. |
|
Enable the window.
Reimplemented from FX::FXWindow. |
|
Disable the window.
Reimplemented from FX::FXWindow. |
|
Return default width.
Reimplemented from FX::FXFrame. Reimplemented in FX::FXCheckButton, FX::FXMDIDeleteButton, FX::FXMDIRestoreButton, FX::FXMDIMaximizeButton, FX::FXMDIMinimizeButton, FX::FXMDIWindowButton, FX::FXMenuButton, FX::FXOption, FX::FXOptionMenu, FX::FXRadioButton, FX::FXToggleButton, and FX::FXTriStateButton. |
|
Return default height.
Reimplemented from FX::FXFrame. Reimplemented in FX::FXCheckButton, FX::FXMDIDeleteButton, FX::FXMDIRestoreButton, FX::FXMDIMaximizeButton, FX::FXMDIMinimizeButton, FX::FXMDIWindowButton, FX::FXMenuButton, FX::FXOption, FX::FXOptionMenu, FX::FXRadioButton, FX::FXToggleButton, and FX::FXTriStateButton. |
|
Set the text for this label.
|
|
Get the text for this label.
|
|
Set the icon for this label.
|
|
Get the icon for this label.
|
|
Set the text font.
|
|
Get the text font.
|
|
Get the current text color.
|
|
Set the current text color.
|
|
Set the current text-justification mode.
|
|
Get the current text-justification mode.
|
|
Set the current icon position.
|
|
Get the current icon position.
|
|
Set the status line help text for this label.
|
|
Get the status line help text for this label.
|
|
Set the tool tip message for this label.
|
|
Get the tool tip message for this label.
|
|
Save label to a stream.
Reimplemented from FX::FXFrame. Reimplemented in FX::FXCheckButton, FX::FXMenuButton, FX::FXOptionMenu, FX::FXRadioButton, FX::FXToggleButton, and FX::FXTriStateButton. |
|
Load label from a stream.
Reimplemented from FX::FXFrame. Reimplemented in FX::FXCheckButton, FX::FXMenuButton, FX::FXOptionMenu, FX::FXRadioButton, FX::FXToggleButton, and FX::FXTriStateButton. |
Copyright © 1997-2005 Jeroen van der Zijp |