Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Potato.Flow.Vty.Params
Contents
Synopsis
- data ParamsWidgetConfig t = ParamsWidgetConfig {}
- data ParamsWidget t = ParamsWidget {}
- holdParamsWidget :: forall t m. (MonadWidget t m, HasPotato t m) => ParamsWidgetConfig t -> m (ParamsWidget t)
- selectParamsFromSelection :: Eq a => ParamsSelector a -> Selection -> Maybe (Selection, Maybe a)
- networkParamsWidgetOutputDynForTesting :: (MonadWidget t m, HasPotato t m) => ParamsWidgetOutputDyn t m b -> m (Dynamic t Int, Event t (), Event t b)
- holdSuperStyleWidget :: forall t m. (MonadLayoutWidget t m, HasPotato t m) => ParamsWidgetFn t m SuperStyle (Either Llama SetPotatoDefaultParameters)
Documentation
data ParamsWidgetConfig t Source #
Constructors
ParamsWidgetConfig | |
data ParamsWidget t Source #
Constructors
ParamsWidget | |
holdParamsWidget :: forall t m. (MonadWidget t m, HasPotato t m) => ParamsWidgetConfig t -> m (ParamsWidget t) Source #
selectParamsFromSelection :: Eq a => ParamsSelector a -> Selection -> Maybe (Selection, Maybe a) Source #
method to extract common parameters from a selection returns Nothing if nothing in the selection has the selected param returns Just (selection, Nothing) if selection that has the selected param do not share the same value
networkParamsWidgetOutputDynForTesting :: (MonadWidget t m, HasPotato t m) => ParamsWidgetOutputDyn t m b -> m (Dynamic t Int, Event t (), Event t b) Source #
holdSuperStyleWidget :: forall t m. (MonadLayoutWidget t m, HasPotato t m) => ParamsWidgetFn t m SuperStyle (Either Llama SetPotatoDefaultParameters) Source #