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

NAME

IWL::Druid - a sequential content widget.

INHERITANCE

IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Druid

DESCRIPTION

The Druid widget provides a way to navigate between sequential content via buttons.

CONSTRUCTOR

IWL::Druid->new ([%ARGS])

Where %ARGS is an optional hash parameter with with key-values.

SIGNALS

current_page_change

Fires when the current page of the druid has changed

load

Fires when the druid has been loaded

METHODS

appendPage (OBJECT, [CALLBACK, PARAM, CURRENT])

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

Returns: the page

prependPage (OBJECT, [CALLBACK, PARAM, CURRENT])

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

Returns: the page

showFinish (PAGE)

Makes the current page the last one, thus changing the 'next' button to a 'finish' one

Parameters: PAGE - a druid page

LICENCE AND COPYRIGHT

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:

Around line 216:

You forgot a '=back' before '=head1'