Class Win32Display
- Namespace
- GdkWin32
- Assembly
- GdkWin32-4.0.dll
public class Win32Display : Display, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Win32Display
- Implements
- Inherited Members
Constructors
Win32Display(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 Win32Display(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Win32Display(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Win32Display(CreationData data)
Parameters
dataCreationData
Win32Display(Win32DisplayHandle)
protected Win32Display(Win32DisplayHandle handle)
Parameters
handleWin32DisplayHandle
Methods
GetEglDisplay()
[Version("4.4")]
public nint GetEglDisplay()
Returns
GetGType()
public static Type GetGType()
Returns
GetPrimaryMonitor(Display)
public static Monitor GetPrimaryMonitor(Display display)
Parameters
displayDisplay
Returns
GetWglVersion(Display, out int, out int)
public static bool GetWglVersion(Display display, out int major, out int minor)
Parameters
Returns
GetWin32hcursor(Cursor)
public Win32HCursor GetWin32hcursor(Cursor cursor)
Parameters
cursorCursor
Returns
NewFromPointer(nint, bool)
Creates a new managed Win32Display instance for a given pointer.
public static Win32Display NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Win32Display and sets the properties specified by the construct arguments.
public static Win32Display NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetCursorTheme(string?, int)
public void SetCursorTheme(string? name, int size)