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
constructArgumentsConstructArgument[]
InitiallyUnowned(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected InitiallyUnowned(CreationData data)
Parameters
dataCreationData
InitiallyUnowned(InitiallyUnownedHandle)
protected InitiallyUnowned(InitiallyUnownedHandle handle)
Parameters
handleInitiallyUnownedHandle
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed InitiallyUnowned instance for a given pointer.
public static InitiallyUnowned NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new InitiallyUnowned and sets the properties specified by the construct arguments.
public static InitiallyUnowned NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.