![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXTriStateButton.h>

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.
| FX::FXTriStateButton::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 | |||
| ) |
Construct tri-state toggle button with three text labels, and three icons, one for each state.
| virtual FX::FXTriStateButton::~FXTriStateButton | ( | ) | [virtual] |
Destructor.
| virtual void FX::FXTriStateButton::create | ( | ) | [virtual] |
| virtual void FX::FXTriStateButton::detach | ( | ) | [virtual] |
| virtual FXint FX::FXTriStateButton::getDefaultWidth | ( | ) | [virtual] |
| virtual FXint FX::FXTriStateButton::getDefaultHeight | ( | ) | [virtual] |
| void FX::FXTriStateButton::setMaybeText | ( | const FXString & | text | ) |
Change maybe text shown when toggled.
| FXString FX::FXTriStateButton::getMaybeText | ( | ) | const [inline] |
Return maybe text.
| void FX::FXTriStateButton::setMaybeIcon | ( | FXIcon * | ic | ) |
Change maybe icon shown when toggled.
| FXIcon* FX::FXTriStateButton::getMaybeIcon | ( | ) | const [inline] |
Return maybe icon.
| void FX::FXTriStateButton::setMaybeHelpText | ( | const FXString & | text | ) |
Change maybe help text shown when toggled.
| FXString FX::FXTriStateButton::getMaybeHelpText | ( | ) | const [inline] |
Return maybe help text.
| void FX::FXTriStateButton::setMaybeTipText | ( | const FXString & | text | ) |
Change maybe tip text shown when toggled.
| FXString FX::FXTriStateButton::getMaybeTipText | ( | ) | const [inline] |
Return maybe tip text.
| virtual void FX::FXTriStateButton::save | ( | FXStream & | store | ) | const [virtual] |
| virtual void FX::FXTriStateButton::load | ( | FXStream & | store | ) | [virtual] |
|
|