Win32::GUI::Animation - Create and manipulate animation controls
The Animation control displays an AVI animation. To load an AVI file you can use the Open() method; you can then use Play() to start the animation (note it will start automatically with the -autoplay option), Stop() to stop it, and Seek() to position it to a specified frame.
Common methods apply to most windows, controls and resources.
new(PARENT, %OPTIONS)
Creates a new Animation object; can also be called as PARENT->AddAnimation(%OPTIONS).
Class specific %OPTIONS are:
-autoplay => 0/1 (default 0) Starts playing the animation as soon as an AVI clip is loaded. -center => 0/1 (default 0) Centers the animation in the control window. -transparent => 0/1 (default 0) Draws the animation using a transparent background.
See also the common options.
Close()
Closes an AVI clip and displays its first frame in an animation control
Open(FILE)
Opens an AVI clip and displays its first frame in an animation control.
OpenEx(FILE,[INSTANCE=NULL])
Opens an AVI clip from a resource in a specified module and displays its first frame in an animation control.
Play([FROM], [TO], [REPEAT])
Plays an AVI clip in an animation control.
Seek(FRAME)
Directs an animation control to display a particular frame of an AVI clip.
Stop()
Stops playing an AVI clip in an animation control.
Common events apply to most windows and controls.
Start()
Sent when the AVI clip has started playing.
Sent when the AVI clip has stopped playing.
Documentation for Win32::GUI v1.08_01 created 13 Oct 2014
This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.
Homepage: http://perl-win32-gui.sourceforge.net/.
For further support join the users mailing list(perl-win32-gui-users@lists.sourceforge.net) from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/mail/?group_id=16572.
perl-win32-gui-users@lists.sourceforge.net
Copyright (c) 1997..2014 Aldo Calpini. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.