Source codeContentsIndex
LogWin
Description
A simple log window.
Synopsis
data LogWin = LogWin Toplevel Editor (IO ())
createLogWin :: [Config Toplevel] -> IO LogWin
class (GUIObject w) => HasFile w where
filename :: String -> Config w
getFileName :: w -> IO String
writeLogWin :: LogWin -> String -> IO ()
Documentation
data LogWin
The LogWin datatype.
Constructors
LogWin Toplevel Editor (IO ())
Instances
GUIObject LogWin
Destroyable LogWin
createLogWin
:: [Config Toplevel] the list of configuration options for this log window.
-> IO LogWin A log window.
Creates a new log window and returns a handler.
class (GUIObject w) => HasFile w where
Objects associated with a file instantiate the class HasFile.
Methods
filename :: String -> Config w
Sets the name of the associated file.
getFileName :: w -> IO String
Gets the name of the associated file.
Instances
HasFile BitMap
HasFile Image
writeLogWin :: LogWin -> String -> IO ()
Produced by Haddock version 0.3