FLTK::ToggleItem - FLTK::Item with an on/off indicator
my $self = $toggleitem->new( $label );
Unlike other widgets the constructor does not take any dimensions, since it is assummed the container widget will size this correctly.
my $self = $toggleitem->new( $label, $image );
This constructor also sets the
useful for a browser item.
my $self = $toggleitem->new( $label, $shortcut, \&callback, $user_data, $flags );
Sanko Robinson <email@example.com> - http://sankorobinson.com/
Copyright (C) 2008-2010 by Sanko Robinson <firstname.lastname@example.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.