Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXMenuCheck.h>
Inheritance diagram for FX::FXMenuCheck:
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.
|
Construct a menu check.
|
|
Return default width.
Reimplemented from FX::FXMenuCommand. |
|
Return default height.
Reimplemented from FX::FXMenuCommand. |
|
Set check state (TRUE, FALSE or MAYBE).
|
|
Get check state (TRUE, FALSE or MAYBE).
|
|
Get the box background color.
|
|
Set the box background color.
|
|
Save menu to a stream.
Reimplemented from FX::FXMenuCommand. |
|
Load menu from a stream.
Reimplemented from FX::FXMenuCommand. |
Copyright © 1997-2005 Jeroen van der Zijp |