Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
An input method context supporting table-based input methods
Synopsis
- data IMContextSimple
- class IMContextClass o => IMContextSimpleClass o
- castToIMContextSimple :: GObjectClass obj => obj -> IMContextSimple
- toIMContextSimple :: IMContextSimpleClass o => o -> IMContextSimple
- imContextSimpleNew :: IO IMContextSimple
- imContextSimpleAddTable :: (IMContextSimpleClass self, GlibString string) => self -> Map string string -> Int -> Int -> IO ()
Class Hierarchy
Types
data IMContextSimple Source #
Instances
Eq IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types (==) :: IMContextSimple -> IMContextSimple -> Bool # (/=) :: IMContextSimple -> IMContextSimple -> Bool # | |
Ord IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types compare :: IMContextSimple -> IMContextSimple -> Ordering # (<) :: IMContextSimple -> IMContextSimple -> Bool # (<=) :: IMContextSimple -> IMContextSimple -> Bool # (>) :: IMContextSimple -> IMContextSimple -> Bool # (>=) :: IMContextSimple -> IMContextSimple -> Bool # max :: IMContextSimple -> IMContextSimple -> IMContextSimple # min :: IMContextSimple -> IMContextSimple -> IMContextSimple # | |
GObjectClass IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types toGObject :: IMContextSimple -> GObject # | |
IMContextSimpleClass IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types | |
IMContextClass IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types | |
ObjectClass IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types |
class IMContextClass o => IMContextSimpleClass o Source #
Instances
IMContextSimpleClass IMContextSimple Source # | |
Defined in Graphics.UI.Gtk.Types |
castToIMContextSimple :: GObjectClass obj => obj -> IMContextSimple Source #
toIMContextSimple :: IMContextSimpleClass o => o -> IMContextSimple Source #
Constructors
imContextSimpleNew :: IO IMContextSimple Source #
Creates a new IMContextSimple
.
Methods
imContextSimpleAddTable Source #
:: (IMContextSimpleClass self, GlibString string) | |
=> 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.)