Sanko Robinson > FLTK-0.532009 > FLTK::MenuWindow



Annotate this POD


View/Report Bugs
Module Version: 0.532006   Source  


FLTK::MenuWindow - Temporary, unmovable popup window

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.

Functions ^


$menuwindow->clear_overlay( );

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.


my $style = $menuwindow->default_style( );

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

$menuwindow->default_style( $style );

Set the style.


my $self = $menuwindow->new( $x, $y, $w, $h, $label );
my $self = $menuwindow->new( $w, $h, $label );


my $can_haz_overlay = $menuwindow->overlay( );


$menuwindow->set_overlay( );

Undoes clear_overlay().

Author ^

Sanko Robinson <> -

License and Legal ^

Copyright (C) 2008-2010 by Sanko Robinson <>

This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.

When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.

syntax highlighting: