Table of Contents

Class PixbufAnimation

Namespace
GdkPixbuf
Assembly
GdkPixbuf-2.0.dll
public class PixbufAnimation : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
PixbufAnimation
Implements
Derived
Inherited Members

Constructors

PixbufAnimation(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 PixbufAnimation(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

PixbufAnimation(CreationData)

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

Parameters

data CreationData

PixbufAnimation(PixbufAnimationHandle)

protected PixbufAnimation(PixbufAnimationHandle handle)

Parameters

handle PixbufAnimationHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetHeight()

public int GetHeight()

Returns

int

GetIter(TimeVal?)

public PixbufAnimationIter GetIter(TimeVal? startTime)

Parameters

startTime TimeVal

Returns

PixbufAnimationIter

GetStaticImage()

public Pixbuf GetStaticImage()

Returns

Pixbuf

GetWidth()

public int GetWidth()

Returns

int

IsStaticImage()

public bool IsStaticImage()

Returns

bool

NewFromFile(string)

public static PixbufAnimation? NewFromFile(string filename)

Parameters

filename string

Returns

PixbufAnimation

NewFromPointer(nint, bool)

Creates a new managed PixbufAnimation instance for a given pointer.

public static PixbufAnimation NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

PixbufAnimation

NewFromResource(string)

[Version("2.28")]
public static PixbufAnimation? NewFromResource(string resourcePath)

Parameters

resourcePath string

Returns

PixbufAnimation

NewFromStream(InputStream, Cancellable?)

[Version("2.28")]
public static PixbufAnimation? NewFromStream(InputStream stream, Cancellable? cancellable)

Parameters

stream InputStream
cancellable Cancellable

Returns

PixbufAnimation

NewFromStreamFinish(AsyncResult)

[Version("2.28")]
public static PixbufAnimation? NewFromStreamFinish(AsyncResult asyncResult)

Parameters

asyncResult AsyncResult

Returns

PixbufAnimation

NewWithProperties(ConstructArgument[])

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

public static PixbufAnimation NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

PixbufAnimation

Ref()

public PixbufAnimation Ref()

Returns

PixbufAnimation

Unref()

public void Unref()