gtk3-0.14.2: Binding to the Gtk+ 3 graphical user interface library

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Misc.IMContextSimple

Contents

Description

An input method context supporting table-based input methods

Synopsis

Class Hierarchy

| GObject
| +----IMContext
| +----IMContextSimple

Types

Constructors

Methods

imContextSimpleAddTable Source

Arguments

:: (IMContextSimpleClass self, GlibString string) 
=> self 
-> Map string string

data - the table

-> Int

maxSeqLen - Maximum length of a sequence in the table (cannot be greater than MaxComposeLen)

-> Int

nSeqs - number of sequences in the table

-> 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.)