sifflet-2.3.0: Simple, visual, functional language for learning about recursion.

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Sifflet.Tool

Synopsis

Documentation

checkMods :: [Modifier] -> [Modifier] -> Bool Source

Check that all required modifiers are in found

showFunctionEntry :: WinId -> CBMgr -> VPUI -> IO VPUI Source

Open an entry for user input of function name to select a function tool. Returns unaltered VPUI, for convenience in menus and key callbacks.

showLiteralEntry :: WinId -> CBMgr -> VPUI -> IO VPUI Source

Show an entry for input of a literal value. Returns unaltered VPUI, for convenience in menus and key callbacks.

vwAddFrame :: VPUIWindow -> Functoid -> Maybe [Value] -> FrameType -> Env -> Double -> Double -> Double -> Maybe Node -> IO VPUIWindow Source

Add a frame representing a functoid to the canvas of a VPUIWindow (which ought to have a canvas, of course). Otherwise like vcAddFrame.

vpuiAddFrame :: VPUI -> WinId -> Functoid -> Maybe [Value] -> FrameType -> Env -> Double -> Double -> Double -> Maybe Node -> IO VPUI Source

Add a frame representing a functoid to the canvas of a particular window, specified by its window id (title).

dumpFrame :: VPUI -> WinId -> CanvFrame -> IO () Source

For debugging (frame context menu command)

dumpGraph :: VPUI -> WinId -> IO () Source

For debugging (frame context menu command)

dumpWorkWin :: VPUI -> WinId -> IO () Source

For debugging the window's widget children

clearFrame :: WinId -> CanvFrame -> VPUI -> IO VPUI Source

Clear frame indicated by mouse location

closeFrame :: VPUI -> WinId -> CanvFrame -> IO VPUI Source

Close frame (context menu command)