Sanko Robinson > FLTK-0.532009 > FLTK::ToggleButton



Annotate this POD


View/Report Bugs
Module Version: 0.532007   Source  


FLTK::ToggleButton - Subclass of FLTK::Button which clicks on and off

Description ^

This subclass of FLTK::Button toggles the state( ) on and off each release of a click inside of it.

You can also convert a regular button into this by doing ...->type(FLTK::Button::TOGGLE) to it.

Functions ^


my $self = $togglebutton->new( $x, $y, $w, $h, $label );

Creates a new ToggleButton widget using the given position, size, and label string.

Author ^

Sanko Robinson <> -

License and Legal ^

Copyright (C) 2008-2010 by Sanko Robinson <>

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: