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

FXPopup Class Reference

Popup window.

#include <FXPopup.h>

Inheritance diagram for FXPopup:

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

Public Types

enum  {
  ID_CHOICE = FXShell::ID_LAST,
  ID_LAST = ID_CHOICE+1000
}

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.

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

virtual void killFocus ()
 Remove the focus from 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.