Class PixbufSimpleAnim
- Namespace
- GdkPixbuf
- Assembly
- GdkPixbuf-2.0.dll
public class PixbufSimpleAnim : PixbufAnimation, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
PixbufSimpleAnim
- Implements
- Inherited Members
Constructors
PixbufSimpleAnim(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public PixbufSimpleAnim(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
PixbufSimpleAnim(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PixbufSimpleAnim(CreationData data)
Parameters
dataCreationData
PixbufSimpleAnim(PixbufSimpleAnimHandle)
protected PixbufSimpleAnim(PixbufSimpleAnimHandle handle)
Parameters
handlePixbufSimpleAnimHandle
Fields
LoopPropertyDefinition
public static readonly Property<bool, PixbufSimpleAnim> LoopPropertyDefinition
Field Value
Properties
Loop
public bool Loop { get; set; }
Property Value
Methods
AddFrame(Pixbuf)
[Version("2.8")]
public void AddFrame(Pixbuf pixbuf)
Parameters
pixbufPixbuf
GetGType()
public static Type GetGType()
Returns
GetLoop()
[Version("2.18")]
public bool GetLoop()
Returns
New(int, int, float)
[Version("2.8")]
public static PixbufSimpleAnim New(int width, int height, float rate)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed PixbufSimpleAnim instance for a given pointer.
public static PixbufSimpleAnim NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new PixbufSimpleAnim and sets the properties specified by the construct arguments.
public static PixbufSimpleAnim NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetLoop(bool)
[Version("2.18")]
public void SetLoop(bool loop)
Parameters
loopbool