IWL::Druid - a sequential content widget.
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Druid
The Druid widget provides a way to navigate between sequential content via buttons.
IWL::Druid->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values.
Fires when the current page of the druid has changed
Fires when the druid has been loaded
Appends the data to the druid as a new page
Parameter: OBJECT - the IWL::Object to be appended, CALLBACK - the function to be called when pressing the NEXT button (if it returns true, the druid will proceed to the next page), PARAM the parameter of the callback, CURRENT - a boolean value which lets the appended page be the current one
NEXT
Returns: the page
Prepends the data to the druid as a new page
Parameter: OBJECT - the IWL::Object to be prepended, CALLBACK - the function to be called when pressing the NEXT button (if it returns true, the druid will proceed to the next page), PARAM the parameter of the callback, CURRENT - a boolean value which lets the appended page be the current one
Makes the current page the last one, thus changing the 'next' button to a 'finish' one
Parameters: PAGE - a druid page
Copyright (c) 2006-2008 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.