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

Public Member Functions | |
| FXMenuCheck (FXComposite *p, const FXString &text, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0) | |
| virtual FXint | getDefaultWidth () |
| virtual FXint | getDefaultHeight () |
| void | setCheck (FXbool s=TRUE) |
| FXbool | getCheck () const |
| FXColor | getBoxColor () const |
| void | setBoxColor (FXColor clr) |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
Menu checks may reflect the state of the application by graying out, becoming hidden, or by a check mark. When activated, a menu check sends a SEL_COMMAND to its target; the void* argument of the message contains the new state.
| FX::FXMenuCheck::FXMenuCheck | ( | FXComposite * | p, | |
| const FXString & | text, | |||
| FXObject * | tgt = NULL, |
|||
| FXSelector | sel = 0, |
|||
| FXuint | opts = 0 | |||
| ) |
Construct a menu check.
| virtual FXint FX::FXMenuCheck::getDefaultWidth | ( | ) | [virtual] |
| virtual FXint FX::FXMenuCheck::getDefaultHeight | ( | ) | [virtual] |
| void FX::FXMenuCheck::setCheck | ( | FXbool | s = TRUE |
) |
Set check state (TRUE, FALSE or MAYBE).
| FXbool FX::FXMenuCheck::getCheck | ( | ) | const [inline] |
Get check state (TRUE, FALSE or MAYBE).
| FXColor FX::FXMenuCheck::getBoxColor | ( | ) | const [inline] |
Get the box background color.
| void FX::FXMenuCheck::setBoxColor | ( | FXColor | clr | ) |
Set the box background color.
| virtual void FX::FXMenuCheck::save | ( | FXStream & | store | ) | const [virtual] |
| virtual void FX::FXMenuCheck::load | ( | FXStream & | store | ) | [virtual] |
|
|