Table of Contents

Class InitiallyUnowned

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

InitiallyUnowned(CreationData)

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

Parameters

data CreationData

InitiallyUnowned(InitiallyUnownedHandle)

protected InitiallyUnowned(InitiallyUnownedHandle handle)

Parameters

handle InitiallyUnownedHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed InitiallyUnowned instance for a given pointer.

public static InitiallyUnowned NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

InitiallyUnowned

NewWithProperties(ConstructArgument[])

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

public static InitiallyUnowned NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

InitiallyUnowned