Table of Contents

Interface IButler

Namespace
Whim
Assembly
Whim.dll
The butler is responsible for using the IWorkspaceManager and IMonitorManager to handle events from the IWindowManager to update the assignment of IWindows to IWorkspaces, and IWorkspaces to IMonitors.
[Obsolete("Use transforms and pickers to interact with the store instead.")]
public interface IButler : IButlerChores, IDisposable
Inherited Members

Properties

Pantry

The pantry is responsible for mapping IWindows to IWorkspaces to IMonitors. Defaults to Whim.ButlerPantry.
[Obsolete("Use transforms and pickers to interact with the store instead.")]
IButlerPantry Pantry { get; }

Property Value

IButlerPantry

Methods

Initialize()

Initializes the butler with the store.
void Initialize()

Events

MonitorWorkspaceChanged

Event for when a monitor's workspace has changed.
[Obsolete("Use the IStore.MapEvents.MonitorWorkspaceChanged event instead.")]
event EventHandler<MonitorWorkspaceChangedEventArgs>? MonitorWorkspaceChanged

Event Type

EventHandler<MonitorWorkspaceChangedEventArgs>

WindowRouted

Description of how an IWindow has been routed between workspaces.
[Obsolete("Use the IStore.MapEvents.WindowRouted event instead.")]
event EventHandler<RouteEventArgs>? WindowRouted

Event Type

EventHandler<RouteEventArgs>