Sanko Robinson > FLTK > FLTK::LightButton



Annotate this POD


View/Report Bugs
Module Version: 0.532006   Source  


FLTK::LightButton - Forms/XForms/Flame style button with indicator light on left

Description ^

This button turns the value() on and off each release of a click inside of it, and displays a light to show the user this. This style was designed for the original Forms library and has been copied into Discreet products and many other pieces of software that originated with SGI machines.

When off the light is color(), when on the light is selection_color().

Functions ^


my $style = $lightbutton->default_style( );
$lightbutton->default_style( $new_style );


my $button = $lightbutton->new( $x, $y, $w, $h, $label );

Creates a new FLTK::LightButton object. Obviously.

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: