Table of Contents

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

constructArguments ConstructArgument[]

PixbufSimpleAnim(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected PixbufSimpleAnim(CreationData data)

Parameters

data CreationData

PixbufSimpleAnim(PixbufSimpleAnimHandle)

protected PixbufSimpleAnim(PixbufSimpleAnimHandle handle)

Parameters

handle PixbufSimpleAnimHandle

Fields

LoopPropertyDefinition

public static readonly Property<bool, PixbufSimpleAnim> LoopPropertyDefinition

Field Value

Property<bool, PixbufSimpleAnim>

Properties

Loop

public bool Loop { get; set; }

Property Value

bool

Methods

AddFrame(Pixbuf)

[Version("2.8")]
public void AddFrame(Pixbuf pixbuf)

Parameters

pixbuf Pixbuf

GetGType()

public static Type GetGType()

Returns

Type

GetLoop()

[Version("2.18")]
public bool GetLoop()

Returns

bool

New(int, int, float)

[Version("2.8")]
public static PixbufSimpleAnim New(int width, int height, float rate)

Parameters

width int
height int
rate float

Returns

PixbufSimpleAnim

NewFromPointer(nint, bool)

Creates a new managed PixbufSimpleAnim instance for a given pointer.

public static PixbufSimpleAnim NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

PixbufSimpleAnim

NewWithProperties(ConstructArgument[])

Creates a new PixbufSimpleAnim and sets the properties specified by the construct arguments.

public static PixbufSimpleAnim NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

PixbufSimpleAnim

SetLoop(bool)

[Version("2.18")]
public void SetLoop(bool loop)

Parameters

loop bool