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
Length
The number of IMonitors contained by IMonitorManager.
[Obsolete("Use the picker PickAllMonitors instead.")]
int Length { get; }
Property Value
PrimaryMonitor
The primary IMonitor.
[Obsolete("Use the picker PickPrimaryMonitor instead.")]
IMonitor PrimaryMonitor { get; }
Property Value
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
Returns
GetNextMonitor(IMonitor)
Gets the monitor after the given monitor.
[Obsolete("Use the picker PickAdjacentMonitor instead.")]
IMonitor GetNextMonitor(IMonitor monitor)
Parameters
monitor
IMonitor
Returns
GetPreviousMonitor(IMonitor)
Gets the monitor before the given monitor.
[Obsolete("Use the picker PickAdjacentMonitor instead.")]
IMonitor GetPreviousMonitor(IMonitor monitor)
Parameters
monitor
IMonitor
Returns
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