Expand description
Window management.
This module provides ways to get WindowHandles and move and resize
windows using the mouse.
WindowHandles allow you to do things like resize and move windows, toggle them between
floating and tiled, close them, and more.
Structs§
- Window
Handle - A handle to a window.
Enums§
- Decoration
Mode - A mode for window decorations (titlebar, shadows, etc).
- Layout
Mode - A window’s current layout mode.
Functions§
- add_
window_ rule - Adds a window rule.
- begin_
move - Begins an interactive window move.
- begin_
resize - Begins an interactive window resize.
- connect_
signal - Connects to a
WindowSignal. - get_all
- Gets handles to all windows.
- get_
all_ async - Async impl for
get_all. - get_
focused - Gets a handle to the window with the current keyboard focus.
- get_
focused_ async - Async impl for
get_focused.