Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | Safe-Infered |
An input method context supporting table-based input methods
- data IMContextSimple
- class IMContextClass o => IMContextSimpleClass o
- castToIMContextSimple :: GObjectClass obj => obj -> IMContextSimple
- toIMContextSimple :: IMContextSimpleClass o => o -> IMContextSimple
- imContextSimpleNew :: IO IMContextSimple
- imContextSimpleAddTable :: IMContextSimpleClass self => self -> Map String String -> Int -> Int -> IO ()
Class Hierarchy
Types
data IMContextSimple Source
castToIMContextSimple :: GObjectClass obj => obj -> IMContextSimpleSource
toIMContextSimple :: IMContextSimpleClass o => o -> IMContextSimpleSource
Constructors
imContextSimpleNew :: IO IMContextSimpleSource
Creates a new IMContextSimple
.
Methods
:: IMContextSimpleClass self | |
=> self | |
-> Map String String |
|
-> Int |
|
-> Int |
|
-> IO () |
Adds an additional table to search to the input context. Each row of the table consists of
maxSeqLen
key symbols followed by two Int
interpreted as the high and low words of a gunicode
value. Tables are searched starting from the last added.
The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.)