Module models

Source
Expand description

Objects (such as windows) used to develop LeftWM.

Modules§

dto

Structs§

BBox
Screen Bounding Box
DockArea
FocusManager
FocusManager stores the history of which workspaces, tags, and windows had focus.
Gutter
Manager
Maintains current program state.
Margins
ScratchPad
ScratchPadName
Newtype used as the name for a scratchpad, can be seen as some sort of symbol in languages like Lisp/Scheme/…
Screen
Tag
A Tag is similar to a “Desktop”. Each Screen/Workspace will always display a certain Tag. A Tag can not be displayed on more than one Workspace at a time.
Tags
Wrapper struct holding all the tags. This wrapper provides convenience methods to change the tag-list during its lifetime, while ensuring that all tags are in correct order and numbered accordingly.
Window
Store Window information.
WindowChange
WindowHandle
A Backend-agnostic handle to a window used to identify it
Workspace
Information for workspaces (screen divisions).
Xyhw
Struct containing min/max width and height and window placement. x,y from top left.
XyhwBuilder
Modifiable struct that can be used to generate an Xyhw struct. Contains min/max width and height and window placement. x,y from top left.
XyhwChange

Enums§

FocusBehaviour
FocusOnActivationBehaviour
Controls behaviour for window activation. Default is to mark the window as urgent.
Mode
Side
Size
Helper enum to represent a size which can be an absolute pixel value or a relative percentage value
WindowState
WindowType

Traits§

Handle
A trait which backend specific window handles need to implement

Type Aliases§

TagId
WorkspaceId