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

FX::FXMenuCascade Class Reference

The cascade menu widget is used to bring up a sub menu from a pull down menu. More...

#include <FXMenuCascade.h>

Inheritance diagram for FX::FXMenuCascade:

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

Public Member Functions

 FXMenuCascade (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=0)
virtual void create ()
virtual void detach ()
virtual void destroy ()
virtual FXbool canFocus () const
virtual void setFocus ()
virtual void killFocus ()
void setMenu (FXPopup *pup)
FXPopupgetMenu () const
virtual FXbool contains (FXint parentx, FXint parenty) const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXMenuCascade ()

Detailed Description

The cascade menu widget is used to bring up a sub menu from a pull down menu.


Constructor & Destructor Documentation

FX::FXMenuCascade::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 FX::FXMenuCascade::~FXMenuCascade  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void FX::FXMenuCascade::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXMenuCaption.

virtual void FX::FXMenuCascade::detach  )  [virtual]
 

Detach server-side resources.

Reimplemented from FX::FXMenuCaption.

virtual void FX::FXMenuCascade::destroy  )  [virtual]
 

Destroy server-side resources.

Reimplemented from FX::FXWindow.

virtual FXbool FX::FXMenuCascade::canFocus  )  const [virtual]
 

Yes it can receive the focus.

Reimplemented from FX::FXWindow.

virtual void FX::FXMenuCascade::setFocus  )  [virtual]
 

Move the focus to this window.

Reimplemented from FX::FXWindow.

virtual void FX::FXMenuCascade::killFocus  )  [virtual]
 

Remove the focus from this window.

Reimplemented from FX::FXWindow.

void FX::FXMenuCascade::setMenu FXPopup pup  )  [inline]
 

Set popup menu to pop up.

FXPopup* FX::FXMenuCascade::getMenu  )  const [inline]
 

Return popup menu.

virtual FXbool FX::FXMenuCascade::contains FXint  parentx,
FXint  parenty
const [virtual]
 

True if this menu or is popup logically contains the mouse.

Reimplemented from FX::FXWindow.

virtual void FX::FXMenuCascade::save FXStream store  )  const [virtual]
 

Save menu to a stream.

Reimplemented from FX::FXMenuCaption.

virtual void FX::FXMenuCascade::load FXStream store  )  [virtual]
 

Load menu from a stream.

Reimplemented from FX::FXMenuCaption.

Copyright © 1997-2005 Jeroen van der Zijp