Copyright | Sven Bartscher 2020 |
---|---|
License | MPL-2.0 |
Maintainer | sven.bartscher@weltraumschlangen.de |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
This module provides helpers for dealing with Box
es in reactive
contexts.
Synopsis
- sinkBox :: (GObject box, IsDescendantOf Container box, IsDescendantOf Box box, Foldable f, Semialign f, GObject w, IsDescendantOf Widget w, Eq w, PerformEvent t m, PostBuild t m, MonadHold t m, MonadRunGtk m, MonadRunGtk (Performable m), Sinkable t s) => box -> s (f (w, Bool, Bool, Word32, PackType)) -> m ()
- sinkBoxUniform :: (GObject box, IsDescendantOf Container box, IsDescendantOf Box box, Foldable f, Semialign f, GObject w, IsDescendantOf Widget w, Eq w, PerformEvent t m, PostBuild t m, MonadRunGtk m, MonadRunGtk (Performable m), MonadHold t m, Sinkable t s) => box -> s (f w) -> Bool -> Bool -> Word32 -> PackType -> m ()
Documentation
:: (GObject box, IsDescendantOf Container box, IsDescendantOf Box box, Foldable f, Semialign f, GObject w, IsDescendantOf Widget w, Eq w, PerformEvent t m, PostBuild t m, MonadHold t m, MonadRunGtk m, MonadRunGtk (Performable m), Sinkable t s) | |
=> box | The |
-> s (f (w, Bool, Bool, Word32, PackType)) | The dynamic sequence of |
-> m () |
Pack a dynamically changing sequence of widgets into a box. Each widget has individual dynamic packing parameters.
The widgets will be packed into the Box
in left-fold order.
:: (GObject box, IsDescendantOf Container box, IsDescendantOf Box box, Foldable f, Semialign f, GObject w, IsDescendantOf Widget w, Eq w, PerformEvent t m, PostBuild t m, MonadRunGtk m, MonadRunGtk (Performable m), MonadHold t m, Sinkable t s) | |
=> box | The |
-> s (f w) | The dynamic sequence of |
-> Bool | |
-> Bool | |
-> Word32 | |
-> PackType | |
-> m () |
Like sinkBox
, but the packing parameters are statically
specified for all widgets.