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
WindowHandleHWND- The handle of the window to move. If not provided, this will default to the focused/active window.
Reversebool- When true, moves to the previous workspace, otherwise moves to the next workspace. Defaults to false.
SkipActivebool- 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
SkipActive
public bool SkipActive { get; init; }
Property Value
WindowHandle
The handle of the window to move. If not provided, this will default to the focused/active window.
public HWND WindowHandle { get; init; }