reflex-gi-gtk-0.2.0.0: Helper functions to use reflex with gi-gtk
CopyrightSven Bartscher 2020
LicenseMPL-2.0
Maintainersven.bartscher@weltraumschlangen.de
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Reflex.GI.Gtk.Widget.Box

Description

This module provides helpers for dealing with Boxes in reactive contexts.

Synopsis

Documentation

sinkBox Source #

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 Box to pack into

-> s (f (w, Bool, Bool, Word32, PackType))

The dynamic sequence of Widgets. The arguments are the same as those for boxSetChildPacking.

-> 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.

sinkBoxUniform Source #

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 Box to pack into

-> s (f w)

The dynamic sequence of Widgets

-> Bool 
-> Bool 
-> Word32 
-> PackType 
-> m () 

Like sinkBox, but the packing parameters are statically specified for all widgets.