Sanko Robinson > FLTK > FLTK::MenuBar



Annotate this POD


View/Report Bugs
Module Version: 0.532006   Source  


FLTK::MenuBar - Typical Window Menu

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.

Functions ^


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

Get the style

$menubar->default_style( $style );

Set the style.


my $menu = $menubar->new( $x, $y, $w, $h, $label );

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: