![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXPopup.h>
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 () |
FXPopup * | getPrevActive () const |
FXPopup * | getNextActive () 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 () |
FXWindow * | getGrabOwner () const |
FXuint | getOrientation () const |
void | setOrientation (FXuint orient) |
FXbool | getShrinkWrap () const |
void | setShrinkWrap (FXbool sw) |
virtual bool | doesSaveUnder () const |
virtual | ~FXPopup () |
See also:
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.
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] |
FXPopup* FX::FXPopup::getPrevActive | ( | ) | const [inline] |
Return a pointer to the prior active popup.
FXPopup* FX::FXPopup::getNextActive | ( | ) | const [inline] |
virtual void FX::FXPopup::setFocus | ( | ) | [virtual] |
virtual void FX::FXPopup::killFocus | ( | ) | [virtual] |
virtual void FX::FXPopup::show | ( | ) | [virtual] |
virtual void FX::FXPopup::hide | ( | ) | [virtual] |
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.
![]() |