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

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.
| FX::FXMenuRadio::FXMenuRadio | ( | FXComposite * | p, | |
| const FXString & | text, | |||
| FXObject * | tgt = NULL, |
|||
| FXSelector | sel = 0, |
|||
| FXuint | opts = 0 | |||
| ) |
Construct a menu radio.
| virtual FXint FX::FXMenuRadio::getDefaultWidth | ( | ) | [virtual] |
| virtual FXint FX::FXMenuRadio::getDefaultHeight | ( | ) | [virtual] |
| void FX::FXMenuRadio::setCheck | ( | FXbool | s = TRUE |
) |
Set radio button state (TRUE, FALSE or MAYBE).
| FXbool FX::FXMenuRadio::getCheck | ( | ) | const [inline] |
Get radio button state (TRUE, FALSE or MAYBE).
| FXColor FX::FXMenuRadio::getRadioColor | ( | ) | const [inline] |
Get the radio background color.
| void FX::FXMenuRadio::setRadioColor | ( | FXColor | clr | ) |
Set the radio background color.
| virtual void FX::FXMenuRadio::save | ( | FXStream & | store | ) | const [virtual] |
| virtual void FX::FXMenuRadio::load | ( | FXStream & | store | ) | [virtual] |
|
|