¤ FudgetIO

Types

class FudgetIO a where
   waitForMsg :: (KEvent b -> Maybe c) -> Cont (a b d) c
   putMsg :: KCommand e -> a f e -> a f e

Description

The purpose of the FudgetIO class is to allow the many IO operations that can be performed from both fudgets and fudget kernels, e.g., haskellIO, createGC, loadQueryFont and allocNamedColor, to use one overloaded name instead of two separate names.

See Also

Types: F, K.

IO operations: haskellIO, createGCtx.