Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXMenuCommand.h>
Inheritance diagram for FX::FXMenuCommand:
Public Member Functions | |
FXMenuCommand (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual FXbool | canFocus () const |
virtual void | setFocus () |
virtual void | killFocus () |
void | setAccelText (const FXString &text) |
FXString | getAccelText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXMenuCommand () |
Menu commands may reflect the state of the application by graying out, or becoming hidden.
|
Construct a menu command.
|
|
Destructor.
|
|
Return default width.
Reimplemented from FX::FXMenuCaption. Reimplemented in FX::FXMenuCheck, and FX::FXMenuRadio. |
|
Return default height.
Reimplemented from FX::FXMenuCaption. Reimplemented in FX::FXMenuCheck, and FX::FXMenuRadio. |
|
Yes it can receive the focus.
Reimplemented from FX::FXWindow. |
|
Move the focus to this window.
Reimplemented from FX::FXWindow. |
|
Remove the focus from this window.
Reimplemented from FX::FXWindow. |
|
Set accelerator text.
|
|
Return accelarator text.
|
|
Save menu to a stream.
Reimplemented from FX::FXMenuCaption. Reimplemented in FX::FXMenuCheck, and FX::FXMenuRadio. |
|
Load menu from a stream.
Reimplemented from FX::FXMenuCaption. Reimplemented in FX::FXMenuCheck, and FX::FXMenuRadio. |
Copyright © 1997-2005 Jeroen van der Zijp |