The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FLTK::Divider - Widget to draw a divider line in a menu

Description

This widget is designed to go into Menu and Browser widgets and draw an inset horizontal line across them. It has the OUTPUT flag set so the user cannot choose it.

Notes for subclassing

FLTK::Divider-handle()> must always return 0. Items do not accept any events. Any results of clicking on them is handled by the parent Menu or Browser.

Functions

new

my $div = $divider->new( );

Unlike other widgets the constructor does not take any dimensions, since it is assummed the container widget will size this correctly.

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.