Table of Contents

Class MoveWindowToAdjacentWorkspaceTransform

Namespace
Whim
Assembly
Whim.dll
Moves the window with handle WindowHandle to the next (or previous) workspace.
public record MoveWindowToAdjacentWorkspaceTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToAdjacentWorkspaceTransform>
Inheritance
MoveWindowToAdjacentWorkspaceTransform
Implements
Inherited Members

Constructors

MoveWindowToAdjacentWorkspaceTransform(HWND, bool, bool)

Moves the window with handle WindowHandle to the next (or previous) workspace.
public MoveWindowToAdjacentWorkspaceTransform(HWND WindowHandle = default, bool Reverse = false, bool SkipActive = false)

Parameters

WindowHandle HWND
The handle of the window to move. If not provided, this will default to the focused/active window.
Reverse bool
When true, moves to the previous workspace, otherwise moves to the next workspace. Defaults to false.
SkipActive bool
When true, skips all workspaces that are active on any other monitor. Defaults to false.

Properties

Reverse

When true, moves to the previous workspace, otherwise moves to the next workspace. Defaults to false.
public bool Reverse { get; init; }

Property Value

bool

SkipActive

When true, skips all workspaces that are active on any other monitor. Defaults to false.
public bool SkipActive { get; init; }

Property Value

bool

WindowHandle

The handle of the window to move. If not provided, this will default to the focused/active window.
public HWND WindowHandle { get; init; }

Property Value

HWND