IWL::Druid::Page - a page in a druid
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Druid::Page
The druid page widget is a helper widget used by the IWL::Druid
IWL::Druid::Page->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values.
Fires when the page is selected
Fires when the page is unselected
Fires when the page is removed
Emitted when the next druid page has been requested. A custom event handler is used. The perl callback for it has to return an arrayref of IWL::Widgets. As a second return parameter, the perl callback can return the following parameters in the hash reference:
The ID of the newly created page.
If true, the user should be stopped from proceeding to the next page.
If deter is true, the javascript expression will be evaluated.
Registers an IWL-Druid-Page-next event for the new page.
Registers an IWL-Druid-Page-previous event for the new page.
Registers an IWL-Druid-Page-final event for the new page.
Emitted when the previous druid page has been requested. A custom event handler is used. The perl callback for it has to return an arrayref of IWL::Widgets. The paramaters hashref contains are the same as in IWL-Druid-Page-next
Emitted when the previous druid page has been requested. The default event handler is used. See IWL::RPC::handleEvent for more details.
Makes the page the final one, thus changing the 'next' button to a 'finish'
Returns true if the page is the final page in the druid
Sets whether the page is the currently selected page
Parameters: BOOL - true if the page should be the currently selected one
Returns true if the page is the currently selected one
Sets the check callback for the page
Parameters: 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, COLLECT - if true, collects all the control elements inside the page, and converts their names and values into a hash
NEXT
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.