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

FX::FXPopup Class Reference

Popup window. More...

#include <FXPopup.h>

Inheritance diagram for FX::FXPopup:

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

Public Member Functions

 FXPopup (FXWindow *owner, FXuint opts=POPUP_VERTICAL|FRAME_RAISED|FRAME_THICK, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
virtual void layout ()
FXPopupgetPrevActive () const
FXPopupgetNextActive () const
virtual void setFocus ()
virtual void killFocus ()
virtual void show ()
virtual void hide ()
void setFrameStyle (FXuint style)
FXuint getFrameStyle () const
FXint getBorderWidth () const
void setHiliteColor (FXColor clr)
FXColor getHiliteColor () const
void setShadowColor (FXColor clr)
FXColor getShadowColor () const
void setBorderColor (FXColor clr)
FXColor getBorderColor () const
void setBaseColor (FXColor clr)
FXColor getBaseColor () const
virtual void popup (FXWindow *grabto, FXint x, FXint y, FXint w=0, FXint h=0)
virtual void popdown ()
FXWindowgetGrabOwner () const
FXuint getOrientation () const
void setOrientation (FXuint orient)
FXbool getShrinkWrap () const
void setShrinkWrap (FXbool sw)
virtual bool doesSaveUnder () const
virtual ~FXPopup ()

Detailed Description

Popup window.

See also:


Constructor & Destructor Documentation

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

Destructor.


Member Function Documentation

virtual FXint FX::FXPopup::getDefaultWidth  )  [virtual]
 

Return the default width of this window.

Reimplemented from FX::FXComposite.

Reimplemented in FX::FXScrollPane.

virtual FXint FX::FXPopup::getDefaultHeight  )  [virtual]
 

Return the default height of this window.

Reimplemented from FX::FXComposite.

Reimplemented in FX::FXScrollPane.

virtual void FX::FXPopup::layout  )  [virtual]
 

Perform layout.

Reimplemented from FX::FXComposite.

Reimplemented in FX::FXScrollPane.

FXPopup* FX::FXPopup::getPrevActive  )  const [inline]
 

Return a pointer to the prior active popup.

FXPopup* FX::FXPopup::getNextActive  )  const [inline]
 

Return a pointer to the next active popup.

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

Move the focus to this window.

Reimplemented from FX::FXShell.

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

Remove the focus from this window.

Reimplemented from FX::FXShell.

virtual void FX::FXPopup::show  )  [virtual]
 

Show this window.

Reimplemented from FX::FXWindow.

Reimplemented in FX::FXScrollPane.

virtual void FX::FXPopup::hide  )  [virtual]
 

Hide this window.

Reimplemented from FX::FXWindow.

void FX::FXPopup::setFrameStyle FXuint  style  ) 
 

Change frame style.

FXuint FX::FXPopup::getFrameStyle  )  const
 

Return frame style.

FXint FX::FXPopup::getBorderWidth  )  const [inline]
 

Return border width.

void FX::FXPopup::setHiliteColor FXColor  clr  ) 
 

Change highlight color.

FXColor FX::FXPopup::getHiliteColor  )  const [inline]
 

Return highlight color.

void FX::FXPopup::setShadowColor FXColor  clr  ) 
 

Change shadow color.

FXColor FX::FXPopup::getShadowColor  )  const [inline]
 

Return shadow color.

void FX::FXPopup::setBorderColor FXColor  clr  ) 
 

Change border color.

FXColor FX::FXPopup::getBorderColor  )  const [inline]
 

Return border color.

void FX::FXPopup::setBaseColor FXColor  clr  ) 
 

Change base color.

FXColor FX::FXPopup::getBaseColor  )  const [inline]
 

Return base color.

virtual void FX::FXPopup::popup FXWindow grabto,
FXint  x,
FXint  y,
FXint  w = 0,
FXint  h = 0
[virtual]
 

Popup the menu and grab to the given owner.

virtual void FX::FXPopup::popdown  )  [virtual]
 

Pop down the menu.

FXWindow* FX::FXPopup::getGrabOwner  )  const
 

Return current grab owner.

FXuint FX::FXPopup::getOrientation  )  const
 

Return popup orientation.

void FX::FXPopup::setOrientation FXuint  orient  ) 
 

Change popup orientation.

FXbool FX::FXPopup::getShrinkWrap  )  const
 

Return shrinkwrap mode.

void FX::FXPopup::setShrinkWrap FXbool  sw  ) 
 

Change shrinkwrap mode.

virtual bool FX::FXPopup::doesSaveUnder  )  const [virtual]
 

Reimplemented from FX::FXWindow.

Copyright © 1997-2005 Jeroen van der Zijp