Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMenuRadio Class Reference

#include <FXMenuRadio.h>

Inheritance diagram for FX::FXMenuRadio:

FX::FXMenuCommand FX::FXMenuCaption FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Methods

 FXMenuRadio (FXComposite *p, const FXString &text, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0)
 Construct a menu radio.

void setCheck (FXbool s=TRUE)
 Set radio button state (TRUE, FALSE or MAYBE).

FXbool getCheck () const
 Get radio button state (TRUE, FALSE or MAYBE).

virtual void save (FXStream &store) const
 Save menu to a stream.

virtual void load (FXStream &store)
 Load menu from a stream.


Detailed Description

The menu command widget is used to invoke a command in the application from a menu. Menu commands may reflect the state of the application by graying out, becoming hidden, or by a check mark or bullit.