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" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
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>
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>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "Advance" >
<MemberSignature Language= "C#" Value= "public bool Advance (IntPtr current_time);" />
<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 >
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
<param name= "current_time" > A <see cref= "T:IntPtr" /> , pointer to a C time object</param>
<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>
<Member MemberName= "OnCurrentlyLoadingFrame" >
<MemberSignature Language= "C#" Value= "public bool OnCurrentlyLoadingFrame ();" />
<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>
2005-05-23 21:11:27 +00:00
2003-02-12 01:57:20 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public PixbufAnimationIter (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "DelayTime" >
<MemberSignature Language= "C#" Value= "public int DelayTime { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2004-09-25 13:52:01 +00:00
<summary >
Gets the number of milliseconds the current pixbuf should be displayed,
or -1 if the current pixbuf should be displayed forever.
</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> , delay time in milliseconds (thousandths of a second)</value>
2004-09-25 13:52:01 +00:00
<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>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "Pixbuf" >
<MemberSignature Language= "C#" Value= "public Gdk.Pixbuf Pixbuf { get; };" />
<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>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gdk.PixbufAnimationIter" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected PixbufAnimationIter (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
<summary > Internal constructor</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<remarks > This is a constructor used by derivative types of <see cref= "T:Gdk.PixbufAnimationIter" /> that would have their own GLib.GType assigned to it. This is not typically used by C# code.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
</Attributes> </Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected PixbufAnimationIter ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-09-25 13:52:01 +00:00
<summary > Protected constructor.</summary>
2004-11-05 19:03:16 +00:00
<remarks />
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>