monomer-1.1.0.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Widgets.Containers.Base.LabeledItem

Description

Container for items with an associated clickable label. Mainly used with radio and checkbox.

Synopsis

Documentation

labeledItem :: WidgetEvent e => WidgetType -> RectSide -> Text -> LabelCfg s e -> WidgetNode s e -> WidgetNode s e Source #

Creates a stack with a label and the provided widget, passing to this widget all the click events received. Positioning is configurable.