Copyright | (c) Paul Schnapp 2023 |
---|---|
License | BSD3 |
Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Window c k
- type WindowAdjustorGen k = GuideID -> GuideID -> k
- window :: (Int, Int) -> WindowAdjustorGen k -> c -> Window c k
- layoutM :: Container c k m => Window c k -> m (Layout, [ComponentInfo k])
- layout :: Container c k Identity => Window c k -> (Layout, [ComponentInfo k])
Documentation
type WindowAdjustorGen k Source #
= GuideID | The Guide to use to adjust the width of the |
-> GuideID | The Guide to use to adjust the height of the |
-> k |
:: (Int, Int) | The width and height of the window. |
-> WindowAdjustorGen k | A function to construct a |
-> c | The content of the window. |
-> Window c k |
Create a Window
.