Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXMenuRadio.h>
Inheritance diagram for FX::FXMenuRadio:
Public Member Functions | |
FXMenuRadio (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 | getRadioColor () const |
void | setRadioColor (FXColor clr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
Menu commands may reflect the state of the application by graying out, becoming hidden, or by a bullit. When activated, a menu radio sends a SEL_COMMAND to its target; the void* argument of the message contains the new state. A collection of menu radio widgets which belong to each other is supposed to be updated by a common SEL_UPDATE handler to properly maintain the state between them.
|
Construct a menu radio.
|
|
Return default width.
Reimplemented from FX::FXMenuCommand. |
|
Return default height.
Reimplemented from FX::FXMenuCommand. |
|
Set radio button state (TRUE, FALSE or MAYBE).
|
|
Get radio button state (TRUE, FALSE or MAYBE).
|
|
Get the radio background color.
|
|
Set the radio 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 |