Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data SaveAsWindowConfig t Source #
SaveAsWindowConfig | |
|
:: forall t m. (MonadWidget t m, HasPotato t m) | |
=> SaveAsWindowConfig t | |
-> m (Event t FilePath, Dynamic t Bool) | (file to save to, popup state) |
data SaveBeforeActionConfig t Source #
data SaveBeforeActionType Source #
SaveBeforeActionType_Open | |
SaveBeforeActionType_New | |
SaveBeforeActionType_Exit | |
SaveBeforeActionType_None |
Instances
Show SaveBeforeActionType Source # | |
Defined in Potato.Flow.Vty.SaveAsWindow showsPrec :: Int -> SaveBeforeActionType -> ShowS # show :: SaveBeforeActionType -> String # showList :: [SaveBeforeActionType] -> ShowS # | |
Eq SaveBeforeActionType Source # | |
Defined in Potato.Flow.Vty.SaveAsWindow (==) :: SaveBeforeActionType -> SaveBeforeActionType -> Bool # (/=) :: SaveBeforeActionType -> SaveBeforeActionType -> Bool # |
data SaveBeforeActionOutput t Source #
SaveBeforeActionOutput | |
|
hackAlign3 :: Reflex t => Event t a -> Event t b -> Event t c -> Event t (These a (These b c)) Source #
hackFanThese3 :: Reflex t => Event t (These a (These b c)) -> (Event t a, Event t b, Event t c) Source #
popupSaveBeforeExit :: forall t m. (MonadWidget t m, HasPotato t m) => SaveBeforeActionConfig t -> m (SaveBeforeActionOutput t, Dynamic t Bool) Source #