Sanko Robinson

NAME

Fl::RadioLightButton - Button that Turns Siblings Off

Synopsis

    use Fl;
    my $button = Fl::RadioButton->new(0, 0, 100, 200, 'Hello, World!');
    $button->callback(sub {print q[It's dat boi]} );

Description

You're probably looking for Fl::RadioRoundButton.

The Fl::RadioLightButton class represents a button that looks like a radio button.

Methods

Fl::RadioButton inherits from Fl::LightButton and Fl::Widget. On top of that, it exposes the following methods...

new(...)

    my $button_a = Fl::RadioLightButton->new(0, 0, 250, 500, 'Important Stuff');
    my $button_b = Fl::RadioLightButton->new(0, 0, 250, 500);

The constructor creates a new button using the given position, size, and label.

The destructor removes the button.

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Sanko Robinson <sanko@cpan.org>