21 #ifndef FXMENUCOMMAND_H 22 #define FXMENUCOMMAND_H 24 #ifndef FXMENUCAPTION_H 25 #include "FXMenuCaption.h" 55 long onPaint(
FXObject*,FXSelector,
void*);
56 long onEnter(
FXObject*,FXSelector,
void*);
57 long onLeave(
FXObject*,FXSelector,
void*);
58 long onButtonPress(
FXObject*,FXSelector,
void*);
59 long onButtonRelease(
FXObject*,FXSelector,
void*);
60 long onKeyPress(
FXObject*,FXSelector,
void*);
61 long onKeyRelease(
FXObject*,FXSelector,
void*);
62 long onHotKeyPress(
FXObject*,FXSelector,
void*);
63 long onHotKeyRelease(
FXObject*,FXSelector,
void*);
64 long onCmdAccel(
FXObject*,FXSelector,
void*);
71 virtual FXint getDefaultWidth();
74 virtual FXint getDefaultHeight();
77 virtual FXbool canFocus()
const;
80 virtual void setFocus();
83 virtual void killFocus();
86 void setAccelText(
const FXString& text,FXbool acc=
false);
92 virtual void save(
FXStream& store)
const;
FXString getAccelText() const
Return accelarator text.
Definition: FXMenuCommand.h:89
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
The menu command widget is used to invoke a command in the application from a menu.
Definition: FXMenuCommand.h:44
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42