2003-02-12 01:57:20 +00:00
<Type Name= "PixbufAnimationIter" FullName= "Gdk.PixbufAnimationIter" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class PixbufAnimationIter : GLib.Object" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit PixbufAnimationIter extends GLib.Object" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:57:20 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2011-11-09 16:01:51 +00:00
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
2003-02-12 01:57:20 +00:00
<Docs >
2004-09-25 13:52:01 +00:00
<summary >
2004-11-05 19:03:16 +00:00
An iterator used by <see cref= "T:Gdk.PixbufAnimation" /> for displaying animations by stepping through frames.
2004-09-25 13:52:01 +00:00
</summary>
2004-11-05 19:03:16 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
<Members >
2011-11-09 16:01:51 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected PixbufAnimationIter ();" />
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > Protected constructor.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public PixbufAnimationIter (IntPtr raw);" />
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "raw" > Pointer to the C object.</param>
<summary > Internal constructor</summary>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
<Member MemberName= "Advance" >
<MemberSignature Language= "C#" Value= "public bool Advance (IntPtr current_time);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool Advance(native int current_time) cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "current_time" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2011-11-09 16:01:51 +00:00
<param name= "current_time" > A <see cref= "T:IntPtr" /> , pointer to a C time object</param>
2004-09-25 13:52:01 +00:00
<summary >
Possibly advances an animation to a new frame. Chooses the frame based
on the start time passed to
2004-11-05 19:03:16 +00:00
<see cref= "M:Gdk.PixbufAnimation.GetIter" /> .
2004-09-25 13:52:01 +00:00
</summary>
2004-11-05 19:03:16 +00:00
<returns > A <see cref= "T:System.Boolean" /> , true if the image may need updating.</returns>
2004-09-25 13:52:01 +00:00
<remarks >
2004-11-05 19:03:16 +00:00
<p >
<paramref name= "current_time" /> would normally come from g_get_current_time(), and
2004-09-25 13:52:01 +00:00
must be greater than or equal to the time passed to
2004-11-05 19:03:16 +00:00
<see cref= "M:Gdk.PixbufAnimation.GetIter" /> , and must increase or remain
2004-09-25 13:52:01 +00:00
unchanged each time this method is
called. That is, you can't go backward in time; animations only
play forward.
2004-11-05 19:03:16 +00:00
</p>
<p >
As a shortcut, pass <see langword= "null" /> for the current time and g_get_current_time()
2004-09-25 13:52:01 +00:00
will be invoked on your behalf. So you only need to explicitly pass
2004-11-05 19:03:16 +00:00
<paramref name= "current_time" /> if you're doing something odd like playing the animation
2004-09-25 13:52:01 +00:00
at double speed.
2004-11-05 19:03:16 +00:00
</p>
<p >
2004-09-25 13:52:01 +00:00
If this method returns false, there's no need to update the animation
display, assuming the display had been rendered prior to advancing;
if true, you need to call
2004-11-05 19:03:16 +00:00
<see cref= "P:Gdk.PixbufAnimationIter.Pixbuf" /> and update the
2004-09-25 13:52:01 +00:00
display with the new pixbuf.
</p>
2004-11-05 19:03:16 +00:00
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2011-11-09 16:01:51 +00:00
<Member MemberName= "DelayTime" >
<MemberSignature Language= "C#" Value= "public int DelayTime { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance int32 DelayTime" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary >
Gets the number of milliseconds the current pixbuf should be displayed,
or -1 if the current pixbuf should be displayed forever.
</summary>
<value > A <see cref= "T:System.Int32" /> , delay time in milliseconds (thousandths of a second)</value>
<remarks >
g_timeout_add() (FIXME: this doesn't seem to be bound)
conveniently takes a timeout in milliseconds, so you can use a timeout
to schedule the next update.
</remarks>
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property valuetype GLib.GType GType" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > GType Property.</summary>
<value > a <see cref= "T:GLib.GType" /> </value>
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gdk.PixbufAnimationIter" /> .</remarks>
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
<Member MemberName= "OnCurrentlyLoadingFrame" >
<MemberSignature Language= "C#" Value= "public bool OnCurrentlyLoadingFrame ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance bool OnCurrentlyLoadingFrame() cil managed" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-25 13:52:01 +00:00
<summary >
Used to determine how to respond to the
2004-11-05 19:03:16 +00:00
<see cref= "E:Gdk.PixbufLoader.AreaUpdated" /> signal
2004-09-25 13:52:01 +00:00
when loading an animation.
2004-11-05 19:03:16 +00:00
<see cref= "E:Gdk.PixbufLoader.AreaUpdated" /> is emitted
2004-09-25 13:52:01 +00:00
for an area of the frame currently streaming into the loader. So if
you're on the currently loading frame, you need to redraw the
screen for the updated area.
</summary>
2004-11-05 19:03:16 +00:00
<returns > A <see cref= "T:System.Boolean" /> , true if the frame we're on is partially loaded, or the last frame</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "Pixbuf" >
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Pixbuf Pixbuf { get; }" />
<MemberSignature Language= "ILAsm" Value= ".property instance class Gdk.Pixbuf Pixbuf" />
2003-02-12 01:57:20 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Docs >
2004-09-25 13:52:01 +00:00
<summary >
Gets the current pixbuf which should be displayed; the pixbuf will
be the same size as the animation itself
2004-11-05 19:03:16 +00:00
(<see cref= "M:Gdk.PixbufAnimation.GetWidth" /> , <see cref= "M:Gdk.PixbufAnimation.GetHeight" /> ). This pixbuf should be displayed
for <see cref= "P:Gdk.PixbufAnimation.DelayTime" /> milliseconds. The caller
2004-09-25 13:52:01 +00:00
of this function does not own a reference to the returned pixbuf;
the returned pixbuf will become invalid when the iterator advances
to the next frame, which may happen anytime you call
2004-11-05 19:03:16 +00:00
<see cref= "M:Gdk.PixbufAnimationIter.Advance" /> . Copy the pixbuf to keep it
2004-09-25 13:52:01 +00:00
(don't just add a reference), as it may get recycled as you advance
the iterator.
</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.Pixbuf" /> </value>
2004-11-05 19:03:16 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
</Members>
2005-05-23 20:41:51 +00:00
</Type>