FLTK::RadioButton - Button with a circle indicator to it's left, turning it on turns off all other radio buttons in the same Group
You can control the color of the circle with
color( ) and the color of the dot with
You can make it draw different colors when turned on by setting
selection_color( ) and
selection_textcolor( ) on the widget (these are ignored if set in an inherited
If you want,
you can make any other button act like a RadioButton by doing
type(FLTK::Button::RADIO) to it.
Be sure to lay out and decorate your interface so it is clear to the user that they are radio buttons.
my $style = $radiobutton->default_style( );
Get the style
$radiobutton->default_style( $style );
Set the style.
my $self = $radiobutton->new( $x, $y, $w, $h, $label );
Creates a new
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.