Module leftwm_core::models
source · [−]Expand description
Objects (such as windows) used to develop LeftWM
.
Modules
Structs
Screen Bounding Box
Maintains current program state.
Newtype used as the name for a scratchpad, can be seen as some sort of symbol in languages like
Lisp/Scheme/…
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.
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.
Store Window information.
Information for workspaces (screen divisions).
Struct containing min/max width and height and window placement. x,y from top left.
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.
Enums
Helper enum to represent a size which can be
an absolute pixel value or a relative percentage value