This enumeration is used to determine if the animator object is running or
not. Use gnome_animator_get_status() to
retrieve it.
GNOME_ANIMATOR_STATUS_STOPPED: The value used
when the GnomeAnimator object is not running.
GNOME_ANIMATOR_STATUS_RUNNING: The value used
when the GnomeAnimator object is running.
enum GnomeAnimatorLoopType
typedef enum
{
/* No loop: after the last (first) frame is played, the animation
is stopped. */
GNOME_ANIMATOR_LOOP_NONE,
/* After the last (first) frame is played, restart from the first
(last) frame. */
GNOME_ANIMATOR_LOOP_RESTART,
/* After the last (first) frame is played, the playback direction
is reversed. */
GNOME_ANIMATOR_LOOP_PING_PONG
} GnomeAnimatorLoopType;
This enumeration is used to set the type of animation loop desired in the
GnomeAnimator object.
GNOME_ANIMATOR_LOOP_NONE: Do not use a loop in
the animation. When the animation is played, it will not
repeat when it is completed.
GNOME_ANIMATOR_LOOP_RESTART: After the animation
is played, loop back to the beginning of the animation and
replay it. If the animation is playing forward, the loop
will return to the first frame; if it is being played
backward, the loop will return to the last frame in the
sequence.
GNOME_ANIMATOR_LOOP_PING_PONG: When the animation
sequence is completed, the playback direction is reversed.
Sets desired animation loop type. Available loop
types are GNOME_ANIMATOR_LOOP_NONE (play animation once only),
GNOME_ANIMATOR_LOOP_RESTART (play animation over and over again),
and GNOME_ANIMATOR_LOOP_PING_PONG (play animation over and over
again, reversing the playing direction every time.)
Obtains current animator loop type. Available loop
types are GNOME_ANIMATOR_LOOP_NONE (play animation once only),
GNOME_ANIMATOR_LOOP_RESTART (play animation over and over again),
and GNOME_ANIMATOR_LOOP_PING_PONG (play animation over and over
again, reversing the playing direction every time.)
Determine the type of loop being used on the animator object.
Sets direction (forwards or backwards) to play the
animation. If playback_direction is a positive number, the
animation is played from the first to the last frame. If
playback_direction is negative, the animation is played from the
last to the first frame.
Set the direction the animation should be played back. Setting a positive
value will cause the animator to play forward; a negative value will cause
it to play backward.
Returns the current playing direction (forwards or
backwards) for the animation. If the returned value is a positive
number, the animation is played from the first to the last frame.
If it is negative, the animation is played from the last to the
first frame.
Adds frame contained within a &GdkImlibImage image at
the end of the current animation. If width and height are
different from the actual image size, the image is scaled
proportionally. The frame display interval is interval is divided
by the playback speed.
Append a frame from a GdkImlibImage to the GnomeAnimator object and render
it.
animator :
Animator widget to be updated
image :
Image to be added to animator
x_offset :
horizontal offset of frame within animator widget
y_offset :
vertical offset of frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds frame contained within a &GdkImlibImage image at
the end of the current animation. The frame display interval is
interval is divided by the playback speed.
Adds frame contained within a GdkImlibImage image at the end of the
current animation. The frame display interval is divided by the playback
speed.
animator :
Animator widget to be updated
image :
Image to be added to animator
x_offset :
horizontal offset of frame within animator widget
y_offset :
vertical offset of frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds frame from the given file to the end of the
current animation. If width and height are different from the
actual image size, the image is scaled proportionally. The frame
display interval is interval divided by the playback speed.
Appends a frame from a file to a GnomeAnimator widget. If the specified
width and height variables are different from the actual size of the
image, it is scaled proportionally. The frame display interval is
interval divided by the playback speed.
animator :
Animator widget to be updated
name :
File path of image to be added to animator
x_offset :
horizontal offset of frame within animator widget
y_offset :
vertical offset of frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds multiple frames contained within a &GdkImlibImage
image at the end of the current animation. Each frame within the
image should be next to one another in a single, horizontal row.
If width and height are different from the actual frame size, the
image is scaled proportionally. The frame display interval is
interval divided by the playback speed.
Appends multiple frames contained within a GdkImlibImage image to a
GnomeAnimator widget. Each frame within the image should be next to one
another in a single, horizontal row. If width and/or height are
different from the actual size of the frame, the image will be scaled
proportionally. The frame display interval is interval divided by the
playback speed.
animator :
Animator widget to be updated
image :
Image containing frames to be added to animator
x_offset :
horizontal offset of a frame within animator widget
y_offset :
vertical offset of a frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds multiple frames contained within a &GdkImlibImage
image to the end of the current animation. Each frame within the
image should be next to one another in a single, horizontal row.
The frame display interval is interval divided by the
playbackspeed.
Append multiple frames contained within a GdkImlibImage image to the end
of a GnomeAnimator widget. Each frame within the image should be next to
one another in a single, horizontal row. The frame display interval is
interval divided by the playback speed.
animator :
Animator widget to be updated
image :
Image containing frames to be added to animator
x_offset :
horizontal offset of a frame within animator widget
y_offset :
vertical offset of a frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds multiple frames contained within a single image
file to the end of the current animation. Each frame within the
image should be next to one another in a single, horizontal row.
If width and height are different from the actual frame size, the
image is scaled proportionally. The frame display interval is
interval divided by the playback speed.
Load and render an image containing multiple frames, and append those
frames to the animator widget. Each frame within the image should be
next to one another in a single, horizontal row. If width and/or height
are different from the actual frame size, the image is scaled
proportionally. The frame display interval is interval divided by the
playback speed.
animator :
Animator widget to be updated
name :
File path to image containing frames to be added to animator
x_offset :
horizontal offset of a frame within animator widget
y_offset :
vertical offset of a frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds multiple frames contained within a single image file
to the end of the current animation. Each frame within the image
should be next to one another in a single, horizontal row.
The frame display interval is interval divided by the playback_speed.
Load and render an image containing multiple frames, and append those
frames to the animator widget. Each frame within the image should be
next to one another in a single, horizontal row. The frame display
interval is interval divided by the playback speed.
animator :
Animator widget to be updated
name :
File path to image containing frames to be added to animator
x_offset :
horizontal offset of a frame within animator widget
y_offset :
vertical offset of a frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Adds frame contained within a &GnomePixmap image to
the end of the current animation. The frame display interval is
interval divided by the playback speed.
Appends a frame from a GnomePixmap image to the animator widget. The
frame display interval is interval divided by the playback speed.
animator :
Animator widget to be updated
pixmap :
GNOME pixmap to be added to animator
x_offset :
horizontal offset of frame within animator widget
y_offset :
vertical offset of frame within animator widget
interval :
Number of milliseconds to delay before showing next frame
Advance the animator num frames. If num is
positive, use the specified playback_direction; if it is negative,
go in the opposite direction. After the call, the animator is in
the same state it would be if it had actually executed the specified
number of iterations.
Advance the animator widget num frames. If num is positive, use the
specified playback_direction; if it is negative, go in the opposite
direction. After the call, the animator is in the same state it would be
if it had actually executed the sppecified number of iterations.
Sets the playback speed. The delay between every
frame is divided by this value before being used. As a
consequence, higher values give higher playback speeds.
Sets the playback speed. The delay between every frame is divided by this
value before being used. As a consequence, higher values give higher
playback speeds.