IWL::Contentbox - a content box
IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Contentbox
The Contentbox is a box, which resembles a window, with a title, a header, a footer, and a central place for content.
IWL::Contentbox->new ([%ARGS])
autoWidth - makes the content box as wide as the content, as long as an id is set. Turns off resizing shadows - enable shadow classes modal - make the window a modal window closeModalOnClick - makes the window close when the user clicks outside of it
Sets the title of the content box.
Parameters: WIDGET - the widget of type IWL::Widget(3pm) with which to fill the title
Parameters: TEXT - the text to be append as the title
Sets the header of the content box.
Parameters: WIDGET - the widget of type IWL::Widget(3pm) with which to fill the header
Parameters: TEXT - the text to be append as the header
Sets the content of the content box.
Parameters: WIDGET - the widget of type IWL::Widget(3pm) with which to fill the content
Parameters: TEXT - the text to be append as the content
Sets the footer of the content box.
Parameters: WIDGET - the widget of type IWL::Widget(3pm) with which to fill the footer
Parameters: TEXT - the text to be append as the footer
Sets the type of the content box
Parameters: TYPE - the type of the content box : none - default, no type : drag - draggable : resize - resizable : dialog - draggable & resizable : window - dialog + close button : noresize - window without resizing
Sets the color type of the header to a predefined value.
Parameters: INDEX - the index of the color type, which is defined in the stylesheets
Sets the color type of the footer to a predefined value.
Enables shadows under the contentbox. Effectively, only changes the class of the contentbox, so it is wise to not change the class if you are going to use this.
Parameters: BOOL - boolean value, true if the contentbox should have shadows
Sets whether the contentbox will try to fit itself to the size of it's content
Parameters: BOOL - true if the contentbox should try to set it's width according to it's content
Sets the image located in the title block of the contentbox
Parameters: IMAGE - an IWL::Image(3) image widget
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.