Sanko Robinson > FLTK > FLTK::Adjuster

Download:
FLTK-0.532009.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.532006   Source  

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

$adjuster->soft( $x );

TODO

my $x = $adjuster->soft( )

my $x = $adjuster->soft( );

TODO

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.

syntax highlighting: