Table of Contents

Class Snapshot

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class Snapshot : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Snapshot
Implements
Derived
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

Snapshot(CreationData)

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

Parameters

data CreationData

Snapshot(SnapshotHandle)

protected Snapshot(SnapshotHandle handle)

Parameters

handle SnapshotHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed Snapshot instance for a given pointer.

public static Snapshot NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Snapshot

NewWithProperties(ConstructArgument[])

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

public static Snapshot NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Snapshot