enum WindowControlKind
Swift
enum WindowControlKind
Which control. Three, because these are the three a window manager offers, and an app inventing a fourth would be inventing a window state nothing else in the desktop understands.
Sources/LavaUI/WindowControls.swift:23
Cases
case close
Close the window. Closing the one the app started with ends the app.
Sources/LavaUI/WindowControls.swift:25
case minimize
Minimize the window.
Sources/LavaUI/WindowControls.swift:27
case maximize
Maximize the window, or restore it if it already is.
Sources/LavaUI/WindowControls.swift:29