NAME
FLTK::RadioItem - This widget makes a radio item in a popup or pulldown Menu
Description
This widget makes a radio item in a popup or pulldown Menu. Its behavior in a Browser or MultiBrowser is that it changes its status on multiple clicks (e.g. double click).
Functions
new
my $self = $radioitem->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 = $radioitem->new( $label, $shortcut, \&callback, $user_data, $flags );
-
This constructor is provided to match the
Menu::add()
function arguments. SeeMenu::add()
for more details.
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.