![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMenuCascade.h>
Inheritance diagram for FXMenuCascade:
Public Types | |
enum | { ID_MENUTIMER = FXMenuCaption::ID_LAST, ID_LAST } |
Public Methods | |
FXMenuCascade (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=0) | |
Construct a menu cascade responsible for the given popup menu. | |
virtual void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach server-side resources. | |
virtual void | destroy () |
Destroy server-side resources. | |
virtual FXbool | canFocus () const |
Yes it can receive the focus. | |
virtual void | setFocus () |
Move the focus to this window. | |
virtual void | killFocus () |
Remove the focus from this window. | |
void | setMenu (FXPopup *pup) |
Set popup menu to pop up. | |
FXPopup * | getMenu () const |
Return popup menu. | |
virtual FXbool | contains (FXint parentx, FXint parenty) const |
True if this menu or is popup logically contains the mouse. | |
virtual void | save (FXStream &store) const |
Save menu to a stream. | |
virtual void | load (FXStream &store) |
Load menu from a stream. | |
virtual | ~FXMenuCascade () |
Destructor. |