IWL::Input - input widget
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Input
The Input widget provides the base for it's offspring widgets, such as the combobox or the text entry.
IWL::Input->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <input> markup would have.
IWL::Input->newMultipleFromHash (NAME => VALUE, ...)
Where NAME => VALUE is a hash of name/values for creating multiple input controls, where the keys are the names, and the values are the values. Returns an array of created inputs.
Fires when the input loses the focus and its value has been modified since gaining focus
Fires when a user selects some text in a text field, including input and textarea
Fires when an element receives focus either via the pointing device or by tab navigation
Fires when an element loses focus either via the pointing device or by tabbing navigation
Sets the name of the input to NAME
Parameter: NAME - the name to use
Gets the name (attribute) of the input element.
Sets the value of the input to VALUE
Parameter: VALUE - the data to be set as the value
Gets the value of the input
Sets whether the input will be disabled
Parameters: BOOL - true if the input should be disabled (i.e. will not react to user input)
Returns true if the input is disabled
Update the IWL::Stash STATE according to the input state.
Update the input element according to the IWL::Stash STATE object. The STATE will get modified, i.e. the "used" element will be shifted from the according slot (name attribute) of the state.
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.