Sanko Robinson > FLTK-0.532009 > FLTK::MenuBar

Download:
FLTK-0.532009.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.532006   Source  

NAME ^

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 ^

default_style

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

Get the style

$menubar->default_style( $style );

Set the style.

new

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

Author ^

Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/

License and Legal ^

Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>

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: