MenuWindow Class Reference

Inherits Window.

Inherited by ColorMenu, ComboWindow, MenuTitle, MWindow, and Tooltip.

List of all members.

Public Member Functions

virtual void create ()
virtual void flush ()
virtual void destroy ()
int overlay ()
void set_overlay ()
void clear_overlay ()
 MenuWindow (int W, int H, const char *l=0)
 MenuWindow (int X, int Y, int W, int H, const char *l=0)

Static Public Attributes

NamedStyledefault_style


Detailed Description

This is the window type used by Menu to make the pop-ups, and for tooltip popups. It will send special information to the window server to indicate that the windows are temporary, won't move, and should not have any decorations.

On X this turns on override_redirect and save-under and thus avoids the window manager.


Member Function Documentation

void MenuWindow::clear_overlay  )  [inline]
 

Tells FLTK to not try to use the overlay hardware planes. This is disabled except on Irix. On Irix you will have to call this if you want to draw colored images in the popup.

void MenuWindow::set_overlay  )  [inline]
 

Undoes clear_overlay().


Member Data Documentation

NamedStyle * MenuWindow::default_style [static]
 

The default style sets box() to UP_BOX. This box is used around all popup menus.

Reimplemented from Window.

Reimplemented in Tooltip.


The documentation for this class was generated from the following files:
Sun Jan 7 00:55:18 2007. FLTK ©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.