FXMenubar

Menu bar.


FXMenubar(p, q, opts=LAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X, x=0, y=0, w=0, h=0, pl=3, pr=3, pt=2, pb=2, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING)

Construct a floatable menubar Normally, the menubar is docked under window p. When floated, the menubar can be docked under window q, which is typically an FXToolbarShell window.

ArgumentTypeDefaultDescription
pFXComposite  
qFXComposite  
optsIntLAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X 
xInt0 
yInt0 
wInt0 
hInt0 
plInt3 
prInt3 
ptInt2 
pbInt2 
hsIntDEFAULT_SPACING 
vsIntDEFAULT_SPACING 


FXMenubar(p, opts=LAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X, x=0, y=0, w=0, h=0, pl=3, pr=3, pt=2, pb=2, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING)

Construct a non-floatable menubar. The menubar can not be undocked.

ArgumentTypeDefaultDescription
pFXComposite  
optsIntLAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X 
xInt0 
yInt0 
wInt0 
hInt0 
plInt3 
prInt3 
ptInt2 
pbInt2 
hsIntDEFAULT_SPACING 
vsIntDEFAULT_SPACING