FXPopup

Popup window


FXPopup(owner, opts=POPUP_VERTICAL| FRAME_RAISED| FRAME_THICK, x=0, y=0, w=0, h=0)

Construct popup pane.

ArgumentTypeDefaultDescription
ownerFXWindow  
optsIntPOPUP_VERTICAL| FRAME_RAISED| FRAME_THICK 
xInt0 
yInt0 
wInt0 
hInt0 


getBaseColor()

Return base color.


getBorderColor()

Return border color.


getBorderWidth()

Return border width.


getDefaultHeight()

Return the default height of this window.

Reimplemented from FXComposite.


getDefaultWidth()

Return the default width of this window.

Reimplemented from FXComposite.


getFrameStyle()

Return frame style.


getGrabOwner()

Return current grab owner.


getHiliteColor()

Return highlight color.


getOrientation()

Return popup orientation.


getShadowColor()

Return shadow color.


getShrinkWrap()

Return shrinkwrap mode.


popdown()

Pop down the menu.


popup(grabto, x, y, w=0, h=0)

Popup the menu and grab to the given owner.

ArgumentTypeDefaultDescription
grabtoFXWindow  
xInt  
yInt  
wInt0 
hInt0 


setBaseColor(clr)

Change base color.

ArgumentTypeDefaultDescription
clrFXColor  


setBorderColor(clr)

Change border color.

ArgumentTypeDefaultDescription
clrFXColor  


setFrameStyle(style)

Change frame style.

ArgumentTypeDefaultDescription
styleInt  


setHiliteColor(clr)

Change highlight color.

ArgumentTypeDefaultDescription
clrFXColor  


setOrientation(orient)

Change popup orientation.

ArgumentTypeDefaultDescription
orientInt  


setShadowColor(clr)

Change shadow color.

ArgumentTypeDefaultDescription
clrFXColor  


setShrinkWrap(sw)

Change shrinkwrap mode.

ArgumentTypeDefaultDescription
swBool  


Global flags

Popup internal orientation

POPUP_VERTICAL

Vertical orientation.

POPUP_HORIZONTAL

Horizontal orientation.

POPUP_SHRINKWRAP

Shrinkwrap to content.