IWL::Label - a label widget
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Label
The Label widget is a basic container widget specifically targeted for holding one text object.
IWL::Label->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values:
True if the label should expand to fill all the given area false if the label should be as long as the text inside it. (expand => false doesn't work with multi-line labels)
Appends the given text string to the label widget.
Parameters: TEXT - the text string
Appends the given text string to the label widget, with type and style settings.
Parameters: TEXT - the text string, TYPE - the text type [em, strong, code, etc.], ATTRS - an attributes hash.
Returns false if incorrect type was given.
Sets the given text string to the label widget, replacing the already existing text
Rethrs the text of the label
Sets the justification of the label.
Parameters: JUSTIFICATION - the justification type: left, right, center or justify
Returns false if incorrect justification was specified.
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.