simple-ui-0.2.0: UI library for terminal.
Safe HaskellNone
LanguageHaskell2010

Simple.UI.Widgets.Widget

Documentation

class WidgetClass w Source #

Minimal complete definition

castToWidget, overrideWidget

Instances

Instances details
WidgetClass Widget Source # 
Instance details

Defined in Simple.UI.Widgets.Widget

WidgetClass Text Source # 
Instance details

Defined in Simple.UI.Widgets.Text

WidgetClass TextView Source # 
Instance details

Defined in Simple.UI.Widgets.TextView

WidgetClass Label Source # 
Instance details

Defined in Simple.UI.Widgets.Label

WidgetClass Edit Source # 
Instance details

Defined in Simple.UI.Widgets.Edit

WidgetClass StatusBar Source # 
Instance details

Defined in Simple.UI.Widgets.StatusBar

WidgetClass SimpleMenuItem Source # 
Instance details

Defined in Simple.UI.Widgets.SimpleMenuItem

WidgetClass SimpleMenuBar Source # 
Instance details

Defined in Simple.UI.Widgets.SimpleMenuBar

WidgetClass (Container a) Source # 
Instance details

Defined in Simple.UI.Widgets.Container

WidgetClass (Window a) Source # 
Instance details

Defined in Simple.UI.Widgets.Window

WidgetClass (TextItem a) Source # 
Instance details

Defined in Simple.UI.Widgets.TextItem

WidgetClass (TextListView a) Source # 
Instance details

Defined in Simple.UI.Widgets.TextListView

overrideWidget :: WidgetClass w => w -> State VirtualWidget () -> w Source #

overrideWidgetHelper :: WidgetClass p => Lens' w p -> w -> State VirtualWidget () -> w Source #

overrideHelper :: WidgetClass p => (p -> State s () -> p) -> Lens' w p -> w -> State s () -> w Source #

connectColorsTo :: (WidgetClass w, WidgetClass v) => w -> v -> UIApp u () Source #