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