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
constructArgumentsConstructArgument[]
Win32HCursor(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Win32HCursor(CreationData data)
Parameters
dataCreationData
Win32HCursor(Win32HCursorHandle)
protected Win32HCursor(Win32HCursorHandle handle)
Parameters
handleWin32HCursorHandle
Fields
DestroyablePropertyDefinition
public static readonly Property<bool, Win32HCursor> DestroyablePropertyDefinition
Field Value
DisplayPropertyDefinition
public static readonly Property<Display?, Win32HCursor> DisplayPropertyDefinition
Field Value
HandlePropertyDefinition
public static readonly Property<nint, Win32HCursor> HandlePropertyDefinition
Field Value
Properties
Destroyable
public bool Destroyable { get; }
Property Value
Display
public Display? Display { get; }
Property Value
Handle
public nint Handle { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
New(Win32Display, HCURSOR, bool)
public static Win32HCursor New(Win32Display display, HCURSOR handle, bool destroyable)
Parameters
displayWin32DisplayhandleHCURSORdestroyablebool
Returns
NewFromPointer(nint, bool)
Creates a new managed Win32HCursor instance for a given pointer.
public static Win32HCursor NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Win32HCursor and sets the properties specified by the construct arguments.
public static Win32HCursor NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.