IWL::Icon - an icon widget for the iconbox
IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Iconbox::Icon
The Icon widget is a basic widget for the iconbox. It features an icon, and a title underneath it.
IWL::Iconbox::Icon->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-value options. These include: direction: the direction in which the icon will float in the iconbox margin: the margin around the icon. Defaults to '5px'
Sets the image of the icon to the one provided
Parameters: IMAGE - the location of the image, ALT - the alt text of the image
Sets the text underneath the icon to the one provided
Parameters: TEXT - the text string
Sets whether the icon should be selected.
Parameters: BOOL - true if the icon should be selected;
Sets the dimensions of the icon to the given ones.
Parameters: WIDTH - the width, HEIGHT - the height.
Note: the dimension units should be provided. Thus, the above parameters will be strings, with the dimension integer, and the given unit to it. E.g.: "64px". Omitting the units might not work on some user agents.
Copyright (c) 2006-2007 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.