Source codeContentsIndex
Entry
Description
HTk's entry field. A simple widget that displays an editable line of text.
Synopsis
module Selection
module Index
module ICursor
data Entry a
newEntry :: (Container par, GUIValue a) => par -> [Config (Entry a)] -> IO (Entry a)
data XCoord = XCoord Distance
showText :: (GUIValue a) => Char -> Entry a -> IO (Entry a)
getShowText :: (GUIValue a) => Entry a -> IO Char
Documentation
module Selection
module Index
module ICursor
data Entry a
The Entry datatype.
newEntry
:: (Container par, GUIValue a)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [Config (Entry a)] the list of configuration options for this entry field.
-> IO (Entry a) An entry field.
Constructs a new entry field and returns a handler.
data XCoord
Constructors
XCoord Distance
Instances
Show XCoord
HasIndex (Entry a) XCoord BaseIndex
showText :: (GUIValue a) => Char -> Entry a -> IO (Entry a)
getShowText :: (GUIValue a) => Entry a -> IO Char
Gets the character to show instead of contents.
Produced by Haddock version 0.3