| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Potato.Flow.Vty.SaveAsWindow
Documentation
data SaveAsWindowConfig t Source #
Constructors
| SaveAsWindowConfig | |
| Fields 
 | |
Arguments
| :: 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 #
Constructors
| SaveBeforeActionConfig | |
| Fields | |
data SaveBeforeActionType Source #
Constructors
| SaveBeforeActionType_Open | |
| SaveBeforeActionType_New | |
| SaveBeforeActionType_Exit | |
| SaveBeforeActionType_None | 
Instances
| Show SaveBeforeActionType Source # | |
| Defined in Potato.Flow.Vty.SaveAsWindow Methods showsPrec :: Int -> SaveBeforeActionType -> ShowS # show :: SaveBeforeActionType -> String # showList :: [SaveBeforeActionType] -> ShowS # | |
| Eq SaveBeforeActionType Source # | |
| Defined in Potato.Flow.Vty.SaveAsWindow Methods (==) :: SaveBeforeActionType -> SaveBeforeActionType -> Bool # (/=) :: SaveBeforeActionType -> SaveBeforeActionType -> Bool # | |
data SaveBeforeActionOutput t Source #
Constructors
| SaveBeforeActionOutput | |
| Fields 
 | |
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 #