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

NAME

IWL::Slider - a sliding control widget

INHERITANCE

IWL::Object -> IWL::Widget -> IWL::Input -> IWL::Slider

DESCRIPTION

The slider is a sliding control widget for setting values by dragging a handle

CONSTRUCTOR

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

Where %ARGS is an optional hash parameter with with key-values. disabled: true if the slider is disabled

METHODS

setValue (VALUE)

Sets the value of the slider to VALUE

Parameter: VALUE - the data to be set as the value

setDisabled (BOOL)

Sets whether the slider will be disabled

Parameters: BOOL - true if the slider should be disabled (i.e. will not react to user input)

setValues (@VALUES)

Sets the allowed values for the slider

Parameters: @VALUES - an array of integers to be the only legal values for the slider

setRange (MIN, MAX)

Sets the allowed range for the slider

Parameters: MIN - the minimum value of the slider, MAX - the maximum value of the slider

setVertical (BOOL)

Sets whether the slider is a vertical slider

Parameters: BOOL - true of the slider should be vertical

setSize (SIZE)

Sets the size of the slider

Parameters: SIZE - the size of the slider in pixels, (width for a horizontal slider, height for a vertical one)

LICENCE AND COPYRIGHT

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:

Around line 290:

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