![]() |
![]()
| ![]() |
![]()
NAMEPrima::Spinner - Show a spinner animation SYNOPSISuse Prima qw(Application Buttons Spinner); my $mw = Prima::MainWindow->new( size => [200, 400], text => 'Button Example'); my $spinner = $mw->insert('Spinner', style => 'drops', size => [200,400], growMode => gm::Center ); my $button = $mw->insert( 'Button', text => 'Start/Stop', checkable => 1, checked => 1, origin => [0,0], onClick => sub { $spinner->toggle }, growMode => gm::XCenter ); run Prima; DESCRIPTIONPrima::Spinner provides a simple spinning animation with two designs and the opportunity to specify the colors of the spinning animation. This is useful to show an indeterminate progress of a running process. USAGEYou can determine the following properties: Properties
SEE ALSOPrima. Prima::Widget, examples/spinner.pl AUTHORMaximilian Lika COPYRIGHT AND LICENSECopyright (C) 2017 by Maximilian Lika This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.22.2 or, at your option, any later version of Perl 5 you may have available.
|