Table of Contents

Class Win32HCursor

Namespace
GdkWin32
Assembly
GdkWin32-4.0.dll
public class Win32HCursor : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Win32HCursor
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

Win32HCursor(CreationData)

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

Parameters

data CreationData

Win32HCursor(Win32HCursorHandle)

protected Win32HCursor(Win32HCursorHandle handle)

Parameters

handle Win32HCursorHandle

Fields

DestroyablePropertyDefinition

public static readonly Property<bool, Win32HCursor> DestroyablePropertyDefinition

Field Value

Property<bool, Win32HCursor>

DisplayPropertyDefinition

public static readonly Property<Display?, Win32HCursor> DisplayPropertyDefinition

Field Value

Property<Display, Win32HCursor>

HandlePropertyDefinition

public static readonly Property<nint, Win32HCursor> HandlePropertyDefinition

Field Value

Property<nint, Win32HCursor>

Properties

Destroyable

public bool Destroyable { get; }

Property Value

bool

Display

public Display? Display { get; }

Property Value

Display

Handle

public nint Handle { get; }

Property Value

nint

Methods

GetGType()

public static Type GetGType()

Returns

Type

New(Win32Display, HCURSOR, bool)

public static Win32HCursor New(Win32Display display, HCURSOR handle, bool destroyable)

Parameters

display Win32Display
handle HCURSOR
destroyable bool

Returns

Win32HCursor

NewFromPointer(nint, bool)

Creates a new managed Win32HCursor instance for a given pointer.

public static Win32HCursor NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Win32HCursor

NewWithProperties(ConstructArgument[])

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

public static Win32HCursor NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Win32HCursor