FLTK::Adjuster - FLTK::Valuator subclass
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.
step()
10 *
100 *
Note: This is a depreciated widget. Please see FLTK::Notes.
default_style
my $style = $adjuster->default_style( );
Returns the current style.
$adjuster->default_style( $new_style )
$adjuster->default_style( $style );
Sets the current style.
$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.
FLTK::Adjuster
$x, $y, $w, $h
$label
Usage:
my $adjustor_1 = FLTK::Adjuster->new( $x, $y, $w, $h, $label ); my $adjustor_2 = FLTK::Adjuster->new( 40, 40, 150, 40);
soft
$adjuster->soft( $x );
TODO
my $x = $adjuster->soft( )
my $x = $adjuster->soft( );
Constructor
$style = $adjuster->default_style( )
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
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:
You forgot a '=back' before '=head3'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
=back without =over
To install FLTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLTK
CPAN shell
perl -MCPAN -e shell install FLTK
For more information on module installation, please visit the detailed CPAN module installation guide.