NAME
FLTK::TabGroupPager - Class based FLTK::TabGroup behavior definition
Description
This helper class generically defines the TabGroup behavior when there are more tabs than available horizontal width, i.e it can generates a popup menu or shrink It opens the door to new Pagers creation as left- rights arrows scrolling pagers and others
To create a new pager, inherits from TabGroupPager and redefine the following methods:
which( $tabgroup, $x, $y )
-
Determines and returns the index of the child group at the corresponding position.
Functions
new
my $group = $tabgrouppager->new( );
-
Creates a new TabGroupPager object.
Subclassing
To create a new TabGroupPager object, you must create a subclass
/*! this method must update the tab positions and width array, returns the s
elected tab */
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.