Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
WidgetRattus.Widgets
Contents
Documentation
class Stable a => Displayable a where Source #
Instances
Displayable Time Source # | |
Displayable Text Source # | |
Displayable NominalDiffTime Source # | |
Defined in WidgetRattus.Widgets Methods display :: NominalDiffTime -> Text Source # | |
Displayable Int Source # | |
class Continuous a => IsWidget a where Source #
Minimal complete definition
Instances
IsWidget Button Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget HStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget Label Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget Popup Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget Slider Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget TextDropdown Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods mkWidgetNode :: TextDropdown -> WidgetNode AppModel AppEvent Source # mkWidget :: TextDropdown -> Widget Source # setEnabled :: TextDropdown -> Sig Bool -> Widget Source # | |
IsWidget TextField Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget VStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes | |
IsWidget Widget Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
class Widgets ws where Source #
Methods
toWidgetList :: ws -> List Widget Source #
Instances
Continuous Widget Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> Widget -> (Widget, Clock) Source # progressInternal :: InputValue -> Widget -> Widget Source # nextProgress :: Widget -> Clock Source # | |
IsWidget Widget Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
Instances
Continuous HStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> HStack -> (HStack, Clock) Source # progressInternal :: InputValue -> HStack -> HStack Source # nextProgress :: HStack -> Clock Source # | |
IsWidget HStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
Instances
Continuous VStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> VStack -> (VStack, Clock) Source # progressInternal :: InputValue -> VStack -> VStack Source # nextProgress :: VStack -> Clock Source # | |
IsWidget VStack Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
data TextDropdown Source #
Instances
Continuous TextDropdown Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> TextDropdown -> (TextDropdown, Clock) Source # progressInternal :: InputValue -> TextDropdown -> TextDropdown Source # nextProgress :: TextDropdown -> Clock Source # promoteInternal :: TextDropdown -> Box TextDropdown Source # | |
IsWidget TextDropdown Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods mkWidgetNode :: TextDropdown -> WidgetNode AppModel AppEvent Source # mkWidget :: TextDropdown -> Widget Source # setEnabled :: TextDropdown -> Sig Bool -> Widget Source # |
Instances
Continuous Popup Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> Popup -> (Popup, Clock) Source # progressInternal :: InputValue -> Popup -> Popup Source # nextProgress :: Popup -> Clock Source # | |
IsWidget Popup Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
Instances
Continuous Slider Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> Slider -> (Slider, Clock) Source # progressInternal :: InputValue -> Slider -> Slider Source # nextProgress :: Slider -> Clock Source # | |
IsWidget Slider Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
Instances
Continuous Button Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> Button -> (Button, Clock) Source # progressInternal :: InputValue -> Button -> Button Source # nextProgress :: Button -> Clock Source # | |
IsWidget Button Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
btnContent :: Button -> Sig a Source #
Instances
Continuous Label Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> Label -> (Label, Clock) Source # progressInternal :: InputValue -> Label -> Label Source # nextProgress :: Label -> Clock Source # | |
IsWidget Label Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
Instances
Continuous TextField Source # | |
Defined in WidgetRattus.Widgets.InternalTypes Methods progressAndNext :: InputValue -> TextField -> (TextField, Clock) Source # progressInternal :: InputValue -> TextField -> TextField Source # nextProgress :: TextField -> Clock Source # | |
IsWidget TextField Source # | |
Defined in WidgetRattus.Widgets.InternalTypes |
mkTextDropdown :: Sig (List Text) -> Text -> C TextDropdown Source #