Source codeContentsIndex
Index
Description
This module exports basic types and classes on index positions, e.g. inside an editor or entry widget.
Synopsis
data EndOfText = EndOfText
class HasIndex w i b where
getBaseIndex :: w -> i -> IO b
data BaseIndex
= IndexNo Int
| IndexPos Position
| IndexText String
data Pixels = Pixels Distance Distance
data First = First
data Last = Last
Documentation
data EndOfText
The EndOfText datatype - a handle indexing the last position inside the concerned widget.
Constructors
EndOfText
Instances
HasIndex Editor EndOfText BaseIndex
HasIndex (Entry a) EndOfText BaseIndex
Show EndOfText
Read EndOfText
GUIValue EndOfText
HasIndex (ListBox a) EndOfText Int
class HasIndex w i b where
Internal.
Methods
getBaseIndex :: w -> i -> IO b
Internal.
Instances
HasIndex Editor BaseIndex BaseIndex
HasIndex Editor EndOfText BaseIndex
HasIndex Editor Pixels BaseIndex
HasIndex Editor (Distance, Distance) BaseIndex
(HasIndex Editor i BaseIndex) => HasIndex Editor (i, [IndexModifier]) BaseIndex
(HasIndex Editor i BaseIndex) => HasIndex Editor (i, IndexModifier) BaseIndex
(HasIndex Editor i BaseIndex) => HasIndex Editor i (Distance, Distance)
HasIndex Editor EmbeddedTextWin BaseIndex
HasIndex (Entry a) Int BaseIndex
HasIndex (Entry a) BaseIndex BaseIndex
HasIndex (Entry a) EndOfText BaseIndex
HasIndex (Entry a) XCoord BaseIndex
HasIndex (Entry a) (ICursor (Entry a)) BaseIndex
HasIndex (Entry a) (Selection (Entry a), First) BaseIndex
HasIndex (Entry a) (Selection (Entry a), Last) BaseIndex
(HasIndex (Entry a) i BaseIndex) => HasIndex (Entry a) i Int
HasIndex (ListBox a) Int Int
HasIndex (ListBox a) EndOfText Int
HasIndex (ListBox a) Pixels Int
(Eq a, GUIValue a) => HasIndex (ListBox [a]) (ListBoxElem a) Int
(Eq a, GUIValue a, GUIValue [a]) => HasIndex (ListBox a) Int (ListBoxElem a)
HasIndex Editor Mark BaseIndex
HasIndex Editor (Selection Editor) BaseIndex
HasIndex Editor (ICursor Editor) BaseIndex
HasIndex Editor MousePosition BaseIndex
HasIndex Editor (TextTag, First) BaseIndex
HasIndex Editor (TextTag, Last) BaseIndex
data BaseIndex
Constructors
IndexNo Int entries, listboxes
IndexPos Position text widgets
IndexText String listboxes, end etc.
Instances
HasIndex Editor BaseIndex BaseIndex
HasIndex Editor BaseIndex BaseIndex
HasIndex Editor EndOfText BaseIndex
HasIndex Editor Pixels BaseIndex
HasIndex Editor (Distance, Distance) BaseIndex
(HasIndex Editor i BaseIndex) => HasIndex Editor (i, [IndexModifier]) BaseIndex
(HasIndex Editor i BaseIndex) => HasIndex Editor (i, IndexModifier) BaseIndex
HasIndex Editor EmbeddedTextWin BaseIndex
HasIndex (Entry a) Int BaseIndex
HasIndex (Entry a) BaseIndex BaseIndex
HasIndex (Entry a) BaseIndex BaseIndex
HasIndex (Entry a) EndOfText BaseIndex
HasIndex (Entry a) XCoord BaseIndex
HasIndex (Entry a) (ICursor (Entry a)) BaseIndex
HasIndex (Entry a) (Selection (Entry a), First) BaseIndex
HasIndex (Entry a) (Selection (Entry a), Last) BaseIndex
GUIValue BaseIndex
Show BaseIndex
Read BaseIndex
HasIndex Editor Mark BaseIndex
HasIndex Editor (Selection Editor) BaseIndex
HasIndex Editor (ICursor Editor) BaseIndex
HasIndex Editor MousePosition BaseIndex
HasIndex Editor (TextTag, First) BaseIndex
HasIndex Editor (TextTag, Last) BaseIndex
data Pixels
Constructors
Pixels Distance Distance
Instances
HasIndex Editor Pixels BaseIndex
Show Pixels
HasIndex (ListBox a) Pixels Int
data First
Constructors
First
Instances
HasIndex (Entry a) (Selection (Entry a), First) BaseIndex
Show First
HasIndex Editor (TextTag, First) BaseIndex
data Last
Constructors
Last
Instances
HasIndex (Entry a) (Selection (Entry a), Last) BaseIndex
Show Last
HasIndex Editor (TextTag, Last) BaseIndex
Produced by Haddock version 0.3