class fltk::MenuWindow


Class Hierarchy

fltk::Single_Window
   |
   +----fltk::MenuWindow

Include Files

#include <fltk/MenuWindow.h>

Description

The fltk::MenuWindow widget is a window type used for menus and tooltips. In earlier versions of fltk it used hardware overlay planes if possible, but this is currently disabled because it does not work with Xft anti-aliased fonts. It also turns on the override() bit to remove window borders.

Methods

fltk::MenuWindow::MenuWindow(int x, int y, int w, int h, const char *label = 0)

Creates a new fltk::MenuWindow widget using the given position, size, and label string.

virtual fltk::MenuWindow::~MenuWindow()

Destroys the window and all of its children.

fltk::MenuWindow::clear_overlay();

Tells FLTK to use normal drawing planes instead of overlay planes. This is usually necessary if your menu contains multi-color pixmaps.

fltk::MenuWindow::set_overlay()

Tells FLTK to use hardware overlay planes if they are available.