Safe Haskell | None |
---|---|
Language | Haskell98 |
Contributed add-ons to the Fudget Library
Synopsis
- bitmapButtonF :: [(ModState, KeySym)] -> [Char] -> F BitmapReturn Click
- bitmapDispF :: FilePath -> F BitmapReturn a
- bitmapDispBorderF :: Int -> FilePath -> F BitmapReturn a
- radioF1 :: Eq a => RadioButtonBorderType -> FontName -> [(a, String)] -> a -> F a a
- radioGroupF1 :: Eq a => RadioButtonBorderType -> FontName -> [a] -> a -> (a -> String) -> F a a
- toggleF1 :: RBBT -> [(ModState, KeySym)] -> F a b -> F (Either Bool a) (Either Bool b)
- toggleButtonF1 :: RadioButtonBorderType -> String -> [(ModState, KeySym)] -> String -> F Bool Bool
- data RBBT
- titleShellF :: [Char] -> F c d -> F (Either String c) d
- titleShellF' :: (ShellF -> ShellF) -> [Char] -> F c d -> F (Either String c) d
- wmShellF :: [Char] -> F c d -> F (Either (Either String Bool) c) (Either () d)
- wmShellF' :: (ShellF -> ShellF) -> [Char] -> F c d -> F (Either (Either String Bool) c) (Either () d)
- auxShellF :: [Char] -> F c b -> F (Either Bool c) (Either Bool b)
- delayedAuxShellF :: [Char] -> F c b -> F (Either Bool c) (Either Bool b)
- delayedAuxShellF' :: (ShellF -> ShellF) -> [Char] -> F c b -> F (Either Bool c) (Either Bool b)
- auxShellF' :: (ShellF -> ShellF) -> [Char] -> F c b -> F (Either Bool c) (Either Bool b)
- data SmileyMode
- = Sad
- | Indifferent
- | Happy
- smileyF :: F SmileyMode void
- smileyF' :: Customiser (DisplayF SmileyMode) -> F SmileyMode void
- smileyD :: SmileyMode -> FixedDrawing
- menuF :: Eq a => Menu a -> F a a
- menuBarF :: Eq a => Menu a -> F a a
- type MenuBar a = Menu a
- type Menu a = [MenuItem' a]
- type MenuItem' a = Item (MenuItem a)
- data Item a
- item :: Graphic a1 => a2 -> a1 -> Item a2
- item' :: Graphic a1 => Keys -> a2 -> a1 -> Item a2
- key :: Item a -> [Char] -> Item a
- itemValue :: Item a -> a
- cmdItem :: Graphic a1 => a2 -> a1 -> Item (MenuItem a2)
- subMenuItem :: (Graphic a1, Eq b) => Transl b a2 -> Menu b -> a1 -> Item (MenuItem a2)
- toggleItem :: Graphic a1 => Transl Bool a2 -> Bool -> a1 -> Item (MenuItem a2)
- sepItem :: Item (MenuItem a)
- radioGroupItem :: (Graphic a1, Eq b) => Transl b a2 -> [Item b] -> b -> a1 -> Item (MenuItem a2)
- dynRadioGroupItem :: (Graphic a1, Eq b) => Transl ([Item b], b) a2 -> [Item b] -> b -> a1 -> Item (MenuItem a2)
- delayedSubMenuItem :: (Graphic a1, Eq b) => Transl b a2 -> Menu b -> a1 -> Item (MenuItem a2)
- data MenuItem a
- = MenuCommand a
- | MenuToggle (Transl Bool a) Bool
- | forall b.Eq b => MenuRadioGroup (Transl b a) [Item b] b
- | forall b.Eq b => MenuDynRadioGroup (Transl ([Item b], b) a) [Item b] b
- | forall b.Eq b => SubMenu Bool (Transl b a) (Menu b)
- | MenuLabel
- menu :: Eq b => Transl b a -> Menu b -> MenuItem a
- data Transl l g = Transl (l -> g) (g -> Maybe l)
- idT :: Transl b b
- compT :: Transl l g -> Transl c l -> Transl c g
- menuIcon :: FixedDrawing
- helpBubbleF :: Graphic g => g -> F c d -> F c d
- fileShellF :: (c1 -> String, String -> Either String c1, Maybe c1) -> [Char] -> F c1 (InputMsg c1) -> F c2 d
- fileShellF' :: (ShellF -> ShellF) -> (c1 -> String, String -> Either String c1, Maybe c1) -> [Char] -> F c1 (InputMsg c1) -> F c2 d
- textFileShellF :: [Char] -> F String (InputMsg String) -> F c d
- textFileShellF' :: (ShellF -> ShellF) -> [Char] -> F String (InputMsg String) -> F c d
- showReadFileShellF :: (Show a, Read a) => Maybe a -> [Char] -> F a (InputMsg a) -> F c d
- showReadFileShellF' :: (Show a, Read a) => (ShellF -> ShellF) -> Maybe a -> [Char] -> F a (InputMsg a) -> F c d
- filePickF :: F ([Char], Maybe FilePath) (Maybe FilePath)
- filePickF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F ([Char], Maybe FilePath) (Maybe FilePath)
- filePickPopupF :: F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), FilePath)
- filePickPopupF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), FilePath)
- filePickPopupOptF :: F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), Maybe FilePath)
- filePickPopupOptF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), Maybe FilePath)
- startDir :: FilePath
- aFilePath :: FilePath -> AFilePath
- popup :: ([Char], Maybe a)
- stdcc :: Char
- completeFromList :: Eq a => [[a]] -> [a] -> [([a], [a])]
- completionStringF :: F (Either ([Char] -> [(a, [Char])]) [Char]) (Either [(a, [Char])] (InputMsg [Char]))
- completionStringF' :: Char -> Customiser StringF -> F (Either ([Char] -> [(a, [Char])]) [Char]) (Either [(a, [Char])] (InputMsg [Char]))
- completionStringF'' :: Char -> Customiser StringF -> F (Either ([Char] -> [(a, [Char])]) (Either (Customiser StringF) [Char])) (Either [(a, [Char])] (InputMsg [Char]))
- endButtonsF :: F (Either Click Click) (Either Click Click)
- endButtonsF' :: F [Char] (Either Click Click)
- meterF :: RealFrac v => InF v (Ratio Int)
- meterF' :: RealFrac a1 => (GraphicsF FlexibleDrawing -> GraphicsF FlexibleDrawing) -> F a1 (InputMsg (Ratio Int))
- meterD :: RealFrac a1 => a1 -> FlexibleDrawing
- meterFg :: ColorSpec
- meterBg :: ColorSpec
- hSplitF :: F a1 a2 -> F c b -> F (Either a1 c) (Either a2 b)
- vSplitF :: F a1 a2 -> F c b -> F (Either a1 c) (Either a2 b)
- hSplitF' :: Double -> F a1 a2 -> F c b -> F (Either a1 c) (Either a2 b)
- vSplitF' :: Double -> F a1 a2 -> F c b -> F (Either a1 c) (Either a2 b)
- splitF' :: LayoutDir -> Double -> F a1 a2 -> F c b -> F (Either a1 c) (Either a2 b)
- data ClientMsg a
- data SocketMsg a
- mapSocketMsg :: (t -> a) -> SocketMsg t -> SocketMsg a
- socketServerF :: Int -> (Socket -> Peer -> F a1 (SocketMsg a2)) -> F (Int, a1) (Int, ClientMsg a2)
- module TypedSockets
- module HyperGraphicsF2
- module ConnectF
- module ReactiveF
- module TreeBrowser
Contributed add-ons to the Fudget Library
bitmapButtonF :: [(ModState, KeySym)] -> [Char] -> F BitmapReturn Click Source #
bitmapDispF :: FilePath -> F BitmapReturn a Source #
bitmapDispBorderF :: Int -> FilePath -> F BitmapReturn a Source #
radioGroupF1 :: Eq a => RadioButtonBorderType -> FontName -> [a] -> a -> (a -> String) -> F a a Source #
toggleButtonF1 :: RadioButtonBorderType -> String -> [(ModState, KeySym)] -> String -> F Bool Bool Source #
wmShellF' :: (ShellF -> ShellF) -> [Char] -> F c d -> F (Either (Either String Bool) c) (Either () d) Source #
delayedAuxShellF' :: (ShellF -> ShellF) -> [Char] -> F c b -> F (Either Bool c) (Either Bool b) Source #
data SmileyMode Source #
Instances
smileyF :: F SmileyMode void Source #
smileyF' :: Customiser (DisplayF SmileyMode) -> F SmileyMode void Source #
smileyD :: SmileyMode -> FixedDrawing Source #
radioGroupItem :: (Graphic a1, Eq b) => Transl b a2 -> [Item b] -> b -> a1 -> Item (MenuItem a2) Source #
dynRadioGroupItem :: (Graphic a1, Eq b) => Transl ([Item b], b) a2 -> [Item b] -> b -> a1 -> Item (MenuItem a2) Source #
delayedSubMenuItem :: (Graphic a1, Eq b) => Transl b a2 -> Menu b -> a1 -> Item (MenuItem a2) Source #
MenuCommand a | |
MenuToggle (Transl Bool a) Bool | |
forall b.Eq b => MenuRadioGroup (Transl b a) [Item b] b | |
forall b.Eq b => MenuDynRadioGroup (Transl ([Item b], b) a) [Item b] b | |
forall b.Eq b => SubMenu Bool (Transl b a) (Menu b) | |
MenuLabel |
fileShellF :: (c1 -> String, String -> Either String c1, Maybe c1) -> [Char] -> F c1 (InputMsg c1) -> F c2 d Source #
fileShellF' :: (ShellF -> ShellF) -> (c1 -> String, String -> Either String c1, Maybe c1) -> [Char] -> F c1 (InputMsg c1) -> F c2 d Source #
showReadFileShellF' :: (Show a, Read a) => (ShellF -> ShellF) -> Maybe a -> [Char] -> F a (InputMsg a) -> F c d Source #
filePickF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F ([Char], Maybe FilePath) (Maybe FilePath) Source #
filePickPopupF :: F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), FilePath) Source #
filePickPopupF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), FilePath) Source #
filePickPopupOptF :: F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), Maybe FilePath) Source #
filePickPopupOptF' :: Graphic lbl => [(AFilePath -> AFilePath, KeySym, lbl)] -> F (a, ([Char], Maybe FilePath)) ((a, ([Char], Maybe FilePath)), Maybe FilePath) Source #
completeFromList :: Eq a => [[a]] -> [a] -> [([a], [a])] Source #
completionStringF :: F (Either ([Char] -> [(a, [Char])]) [Char]) (Either [(a, [Char])] (InputMsg [Char])) Source #
completionStringF' :: Char -> Customiser StringF -> F (Either ([Char] -> [(a, [Char])]) [Char]) (Either [(a, [Char])] (InputMsg [Char])) Source #
completionStringF'' :: Char -> Customiser StringF -> F (Either ([Char] -> [(a, [Char])]) (Either (Customiser StringF) [Char])) (Either [(a, [Char])] (InputMsg [Char])) Source #
meterF' :: RealFrac a1 => (GraphicsF FlexibleDrawing -> GraphicsF FlexibleDrawing) -> F a1 (InputMsg (Ratio Int)) Source #
meterD :: RealFrac a1 => a1 -> FlexibleDrawing Source #
mapSocketMsg :: (t -> a) -> SocketMsg t -> SocketMsg a Source #
socketServerF :: Int -> (Socket -> Peer -> F a1 (SocketMsg a2)) -> F (Int, a1) (Int, ClientMsg a2) Source #
module TypedSockets
module HyperGraphicsF2
module ConnectF
module ReactiveF
module TreeBrowser