Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This module contains the logic to host multiple App
.
TODO: support custom window-manager and theme.
Synopsis
- data Desktop = Desktop {}
- newDesktop :: ProcessEnv -> Display -> Workspace -> WindowManager -> AppSet -> STM Desktop
- newDesktopIO :: Display -> Workspace -> [Service] -> AppSet -> ProcessIO Desktop
- startDesktop :: MVar Desktop -> AppSet -> [Service] -> Display -> Workspace -> ProcessIO ()
- desktopHandler :: AppSet -> [Service] -> Desktop -> DisplayEvent -> ProcessIO ()
- addApp :: Desktop -> AppInstance -> STM ()
- addDesktopApp :: Desktop -> AppInstance -> STM ()
Documentation
Desktop | |
|
newDesktop :: ProcessEnv -> Display -> Workspace -> WindowManager -> AppSet -> STM Desktop #
desktopHandler :: AppSet -> [Service] -> Desktop -> DisplayEvent -> ProcessIO () #
app
addApp :: Desktop -> AppInstance -> STM () #
Register a new windowed application.
addDesktopApp :: Desktop -> AppInstance -> STM () #
Add app without registering a window.