| Copyright | Sven Bartscher 2020 |
|---|---|
| License | MPL-2.0 |
| Maintainer | [email protected] |
| Stability | experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Reflex.GI.Gtk.Widget.Box
Description
This module provides helpers for dealing with Boxes 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
Arguments
| :: (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.
Arguments
| :: (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.