NAME
FLTK::Adjuster - FLTK::Valuator subclass
Description
Valuator widget that displays three buttons. The user pushes down the button and drags left/right to adjust, or clicks the button to step, or shift-clicks to step backwards. One button moves in the step()
values, the next in 10 *
step()
, and the third in 100 *
step()
. Holding down shift makes the buttons move in the opposite way.
Note: This is a depreciated widget. Please see FLTK::Notes.
Functions
default_style
my $style = $adjuster->default_style( );
-
Returns the current style.
$adjuster->default_style( $new_style )
$adjuster->default_style( $style );
-
Sets the current style.
soft
$adjuster->soft( $x )
new
my $self = $adjuster->new( $x, $y, $w, $h, $label );
-
Creates a new
FLTK::Adjuster
object. This constructor expects integers for$x, $y, $w, $h
and accepts an optional string for$label
.Usage:
my $adjustor_1 = FLTK::Adjuster->new( $x, $y, $w, $h, $label ); my $adjustor_2 = FLTK::Adjuster->new( 40, 40, 150, 40);
soft
my $x = $adjuster->soft( )
Constructor
Methods
default_style
$style = $adjuster->default_style( )
Author
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
License and Legal
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.
6 POD Errors
The following errors were encountered while parsing the POD:
- Around line 31:
You forgot a '=back' before '=head3'
- Around line 35:
'=item' outside of any '=over'
- Around line 39:
You forgot a '=back' before '=head2'
- Around line 45:
=back without =over
- Around line 79:
You forgot a '=back' before '=head3'
- Around line 83:
'=item' outside of any '=over'