| Copyright | (c) Paul Schnapp 2023 |
|---|---|
| License | BSD3 |
| Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
FULE.Container.Window
Description
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 #
Arguments
| = GuideID | The Guide to use to adjust the width of the |
| -> GuideID | The Guide to use to adjust the height of the |
| -> k |
Arguments
| :: (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.