Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Widgets
- class HasWidgets r where
- addTopBar :: Renderable r => BufAction r -> BufAction ListenerId
- addBottomBar :: Renderable r => BufAction r -> BufAction ListenerId
- addLeftBar :: Renderable r => BufAction r -> BufAction ListenerId
- addRightBar :: Renderable r => BufAction r -> BufAction ListenerId
- topBar :: Lens' Widgets [AnyRenderable]
- bottomBar :: Lens' Widgets [AnyRenderable]
- leftBar :: Lens' Widgets [AnyRenderable]
- rightBar :: Lens' Widgets [AnyRenderable]
Documentation
Represents all widgets for a given view. Can be added onto using the Monoid instance.
class HasWidgets r where Source #
computeWidgets :: r -> App Widgets Source #
HasWidgets View Source # | This represents types which can provide a set of widgets |
addTopBar :: Renderable r => BufAction r -> BufAction ListenerId Source #
Use the computed renderer as a top-bar widget
addBottomBar :: Renderable r => BufAction r -> BufAction ListenerId Source #
Use the computed renderer as a bottom-bar widget
addLeftBar :: Renderable r => BufAction r -> BufAction ListenerId Source #
Use the computed renderer as a left-bar widget
addRightBar :: Renderable r => BufAction r -> BufAction ListenerId Source #
Use the computed renderer as a right-bar widget