Table of Contents

Interface IMonitorManager

Namespace
Whim
Assembly
Whim.dll
The manager for IMonitors.
[Obsolete("Use transforms and pickers to interact with the store instead.")]
public interface IMonitorManager : IEnumerable<IMonitor>, IEnumerable, IDisposable
Inherited Members

Properties

ActiveMonitor

The currently active IMonitor.
[Obsolete("Use the picker PickActiveMonitor instead.")]
IMonitor ActiveMonitor { get; }

Property Value

IMonitor

Length

The number of IMonitors contained by IMonitorManager.
[Obsolete("Use the picker PickAllMonitors instead.")]
int Length { get; }

Property Value

int

PrimaryMonitor

The primary IMonitor.
[Obsolete("Use the picker PickPrimaryMonitor instead.")]
IMonitor PrimaryMonitor { get; }

Property Value

IMonitor

Methods

GetMonitorAtPoint(IPoint<int>)

Returns the IMonitor at the given x and y coordinates.
[Obsolete("Use the picker PickMonitorAtPoint instead.")]
IMonitor GetMonitorAtPoint(IPoint<int> point)

Parameters

point IPoint<int>
Point defined in terms of the real monitor coordinates.

Returns

IMonitor

GetNextMonitor(IMonitor)

Gets the monitor after the given monitor.
[Obsolete("Use the picker PickAdjacentMonitor instead.")]
IMonitor GetNextMonitor(IMonitor monitor)

Parameters

monitor IMonitor

Returns

IMonitor

GetPreviousMonitor(IMonitor)

Gets the monitor before the given monitor.
[Obsolete("Use the picker PickAdjacentMonitor instead.")]
IMonitor GetPreviousMonitor(IMonitor monitor)

Parameters

monitor IMonitor

Returns

IMonitor

Initialize()

Initialize the windows event hooks.
void Initialize()

Events

MonitorsChanged

Event raised when the monitors handled by Whim are changed.
[Obsolete("Use the IStore.IMonitorSectorEvents.MonitorsChanged event instead.")]
event EventHandler<MonitorsChangedEventArgs>? MonitorsChanged

Event Type

EventHandler<MonitorsChangedEventArgs>