Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXTriStateButton.h>
Inheritance diagram for FX::FXTriStateButton:
Public Member Functions | |
FXTriStateButton (FXComposite *p, const FXString &text1, const FXString &text2, const FXString &text3, FXIcon *icon1=NULL, FXIcon *icon2=NULL, FXIcon *icon3=NULL, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=TOGGLEBUTTON_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 FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setMaybeText (const FXString &text) |
FXString | getMaybeText () const |
void | setMaybeIcon (FXIcon *ic) |
FXIcon * | getMaybeIcon () const |
void | setMaybeHelpText (const FXString &text) |
FXString | getMaybeHelpText () const |
void | setMaybeTipText (const FXString &text) |
FXString | getMaybeTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXTriStateButton () |
The MAYBE state is useful to signify an unknown state in the application data. Like the toggle button, it sends a SEL_COMMAND to its target, with the message data set to the current state of the toggle button, of the type FXbool.
|
Construct tri-state toggle button with three text labels, and three icons, one for each state.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXToggleButton. |
|
Detach server-side resources.
Reimplemented from FX::FXToggleButton. |
|
Get default width.
Reimplemented from FX::FXToggleButton. |
|
Get default height.
Reimplemented from FX::FXToggleButton. |
|
Change maybe text shown when toggled.
|
|
Return maybe text.
|
|
Change maybe icon shown when toggled.
|
|
Return maybe icon.
|
|
Change maybe help text shown when toggled.
|
|
Return maybe help text.
|
|
Change maybe tip text shown when toggled.
|
|
Return maybe tip text.
|
|
Save toggle button to a stream.
Reimplemented from FX::FXToggleButton. |
|
Load toggle button from a stream.
Reimplemented from FX::FXToggleButton. |
Copyright © 1997-2004 Jeroen van der Zijp |