![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMenuBar.h>
Public Member Functions | |
FXMenuBar (FXComposite *p, FXComposite *q, FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=3, FXint pr=3, FXint pt=2, FXint pb=2, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING) | |
FXMenuBar (FXComposite *p, FXuint opts, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=3, FXint pr=3, FXint pt=2, FXint pb=2, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING) | |
virtual FXbool | contains (FXint parentx, FXint parenty) const |
FX::FXMenuBar::FXMenuBar | ( | FXComposite * | p, | |
FXComposite * | q, | |||
FXuint | opts = LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 , |
|||
FXint | pl = 3 , |
|||
FXint | pr = 3 , |
|||
FXint | pt = 2 , |
|||
FXint | pb = 2 , |
|||
FXint | hs = DEFAULT_SPACING , |
|||
FXint | 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.
FX::FXMenuBar::FXMenuBar | ( | FXComposite * | p, | |
FXuint | opts, | |||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 , |
|||
FXint | pl = 3 , |
|||
FXint | pr = 3 , |
|||
FXint | pt = 2 , |
|||
FXint | pb = 2 , |
|||
FXint | hs = DEFAULT_SPACING , |
|||
FXint | vs = DEFAULT_SPACING | |||
) |
Construct a non-floatable menubar.
The menubar can not be undocked.
Returns true if specified coordinate (in parent's coordinate system) is in menubar.
Reimplemented from FX::FXWindow.
![]() |