|
NAME"Tickit::Widget::Spinner" - a widget displaying a small text animationSYNOPSISuse Tickit; use Tickit::Widget::Spinner; my $spinner = Tickit::Widget::Spinner->new( chars => [ "<X> ", " <X> ", " <X>", "> <X", "X> <" ], ); Tickit->new( root => $spinner )->run; DESCRIPTIONThis class provides a widget which displays a simple animation, cycling through a fixed set of strings with a fixed interval.STYLEThe default style pen is used as the widget pen.CONSTRUCTORnew$spinner = Tickit::Widget::Spinner->new( %args ) Constructs a new "Tickit::Widget::Spinner" object. Takes the following named arguments:
METHODSstart$spinner->start Starts the animation effect. stop$spinner->stop Stops the animation effect. AUTHORPaul Evans <leonerd@leonerd.org.uk>
Visit the GSP FreeBSD Man Page Interface. |