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

FX::FXMenuBar Class Reference

Menu bar. More...

#include <FXMenuBar.h>

Inheritance diagram for FX::FXMenuBar:

FX::FXToolBar FX::FXDockBar FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

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 bool contains (FXint parentx, FXint parenty) const

Detailed Description

Menu bar.


Constructor & Destructor Documentation

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.


Member Function Documentation

virtual bool FX::FXMenuBar::contains FXint  parentx,
FXint  parenty
const [virtual]
 

Returns true if specified coordinate (in parent's coordinate system) is in menubar.

Reimplemented from FX::FXWindow.

Copyright © 1997-2005 Jeroen van der Zijp