
Menu bar.


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.
| Argument | Type | Default | Description |
| p | FXComposite | ||
| q | FXComposite | ||
| opts | Int | LAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X | |
| x | Int | 0 | |
| y | Int | 0 | |
| w | Int | 0 | |
| h | Int | 0 | |
| pl | Int | 3 | |
| pr | Int | 3 | |
| pt | Int | 2 | |
| pb | Int | 2 | |
| hs | Int | DEFAULT_SPACING | |
| vs | Int | DEFAULT_SPACING |

Construct a non-floatable menubar. The menubar can not be undocked.
| Argument | Type | Default | Description |
| p | FXComposite | ||
| opts | Int | LAYOUT_TOP| LAYOUT_LEFT| LAYOUT_FILL_X | |
| x | Int | 0 | |
| y | Int | 0 | |
| w | Int | 0 | |
| h | Int | 0 | |
| pl | Int | 3 | |
| pr | Int | 3 | |
| pt | Int | 2 | |
| pb | Int | 2 | |
| hs | Int | DEFAULT_SPACING | |
| vs | Int | DEFAULT_SPACING |