Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXMenubar Class Reference

Menu bar.

#include <FXMenubar.h>

Inheritance diagram for FXMenubar:

FXToolbar FXPacker FXComposite FXWindow FXDrawable FXId FXObject List of all members.

Public Methods

 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=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)
virtual FXbool contains (FXint parentx, FXint parenty) const
 Returns true if specified coordinate (in parent's coordinate system) is in menubar.


Constructor & Destructor Documentation

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.

FXMenubar::FXMenubar FXComposite   p,
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 non-floatable menubar. The menubar can not be undocked.