![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXPopup.h>
One of its principal characteristics is that no other controls, except the ones inside the popup are capable of interaction. Any click outside of a popup will cause the popup to be closed. Contents of popups may be arranged vertically (POPUP_VERTICAL) or horizontally (POPUP_HORIZONTAL). The special POPUP_SHRINKWRAP option causes the application to recompute the size of the popup window based on its contents at the time it is shown, thus permitting dynamically changing content.
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] |
Return a pointer to the next active popup.
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.
void FX::FXPopup::setOrientation | ( | FXuint | orient | ) |
Change popup orientation.
FXuint FX::FXPopup::getOrientation | ( | ) | const |
Return popup orientation.
void FX::FXPopup::setShrinkWrap | ( | FXbool | flag | ) |
Change shrinkwrap mode.
FXbool FX::FXPopup::getShrinkWrap | ( | ) | const |
Return shrinkwrap mode.
virtual FXbool FX::FXPopup::doesSaveUnder | ( | ) | const [virtual] |
![]() |