Table of Contents

Class Win32Monitor

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

Win32Monitor(CreationData)

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

Parameters

data CreationData

Win32Monitor(Win32MonitorHandle)

protected Win32Monitor(Win32MonitorHandle handle)

Parameters

handle Win32MonitorHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetWorkarea(Monitor, out Rectangle)

public static void GetWorkarea(Monitor monitor, out Rectangle workarea)

Parameters

monitor Monitor
workarea Rectangle

NewFromPointer(nint, bool)

Creates a new managed Win32Monitor instance for a given pointer.

public static Win32Monitor NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Win32Monitor

NewWithProperties(ConstructArgument[])

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

public static Win32Monitor NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Win32Monitor