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

FX::FXPopup Class Reference

#include <FXPopup.h>

Inheritance diagram for FX::FXPopup:

FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject FX::FXMenuPane FX::FXMDIMenu List of all members.

Public Methods

 FXPopup (FXWindow *owner, FXuint opts=POPUP_VERTICAL|FRAME_RAISED|FRAME_THICK, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 Construct popup pane.

virtual FXint getDefaultWidth ()
 Return the default width of this window.

virtual FXint getDefaultHeight ()
 Return the default height of this window.

FXPopup * getPrevActive () const
 Return a pointer to the prior active popup.

FXPopup * getNextActive () const
 Return a pointer to the next active popup.

virtual void setFocus ()
 Move the focus to this window.

virtual void killFocus ()
 Remove the focus from this window.

virtual void show ()
 Show this window.

virtual void hide ()
 Hide this window.

void setFrameStyle (FXuint style)
 Change frame style.

FXuint getFrameStyle () const
 Return frame style.

FXint getBorderWidth () const
 Return border width.

void setHiliteColor (FXColor clr)
 Change highlight color.

FXColor getHiliteColor () const
 Return highlight color.

void setShadowColor (FXColor clr)
 Change shadow color.

FXColor getShadowColor () const
 Return shadow color.

void setBorderColor (FXColor clr)
 Change border color.

FXColor getBorderColor () const
 Return border color.

void setBaseColor (FXColor clr)
 Change base color.

FXColor getBaseColor () const
 Return base color.

virtual void popup (FXWindow *grabto, FXint x, FXint y, FXint w=0, FXint h=0)
 Popup the menu and grab to the given owner.

virtual void popdown ()
 Pop down the menu.

FXWindowgetGrabOwner () const
 Return current grab owner.

FXuint getOrientation () const
 Return popup orientation.

void setOrientation (FXuint orient)
 Change popup orientation.

FXbool getShrinkWrap () const
 Return shrinkwrap mode.

void setShrinkWrap (FXbool sw)
 Change shrinkwrap mode.

virtual FXbool doesSaveUnder () const
virtual ~FXPopup ()
 Destructor.


Detailed Description

Popup window

See also: