fltk::MenuBar Class Reference

Inherits fltk::Menu.

List of all members.

Public Member Functions

int handle (int)
 MenuBar (int x, int y, int w, int h, const char *l=0)

Static Public Attributes

static NamedStyledefault_style

Protected Member Functions

void draw ()

Detailed Description

Subclass of fltk::Menu. The top level menu items are visible and drawn in a horizontal row. Put this at the top edge of your window and you get a typical menubar.

You can call popup() on this same widget in response to a right-click in your work area and you will get the exact same menu as a vertical pop up menu.