<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Graphics.UI.Gtk.Abstract.IMContext</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Graphics-UI-Gtk-Abstract-IMContext.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >gtk-0.11.2: Binding to the Gtk+ graphical user interface library.</TD ><TD CLASS="topbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html" >Source code</A ></TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Graphics.UI.Gtk.Abstract.IMContext</FONT ></TD ><TD ALIGN="right" ><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="infohead" >Portability</TD ><TD CLASS="infoval" >portable (depends on GHC)</TD ></TR ><TR ><TD CLASS="infohead" >Stability</TD ><TD CLASS="infoval" >provisional</TD ></TR ><TR ><TD CLASS="infohead" >Maintainer</TD ><TD CLASS="infoval" >gtk2hs-users@lists.sourceforge.net</TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><B >Contents</B ></TD ></TR ><TR ><TD ><DL ><DT ><A HREF="#1" >Class Hierarchy </A ></DT ><DT ><A HREF="#2" >Types </A ></DT ><DT ><A HREF="#3" >Methods </A ></DT ><DT ><A HREF="#4" >Signals </A ></DT ></DL ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Description</TD ></TR ><TR ><TD CLASS="doc" >Base class for input method contexts </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3AIMContext" >IMContext</A > </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass" >ObjectClass</A > o => <A HREF="#t%3AIMContextClass" >IMContextClass</A > o </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcastToIMContext" >castToIMContext</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgTypeIMContext" >gTypeIMContext</A > :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType" >GType</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtoIMContext" >toIMContext</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextSetClientWindow" >imContextSetClientWindow</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > <A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow" >DrawWindow</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextGetPreeditString" >imContextGetPreeditString</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >, [[<A HREF="/usr/share/doc/ghc/html/libraries/pango-0.11.2/Graphics-Rendering-Pango-Enums.html#t%3APangoAttribute" >PangoAttribute</A >]], <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextFilterKeypress" >imContextFilterKeypress</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Gdk-EventM.html#t%3AEventM" >EventM</A > <A HREF="Graphics-UI-Gtk-Gdk-EventM.html#t%3AEKey" >EKey</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextFocusIn" >imContextFocusIn</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextFocusOut" >imContextFocusOut</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextReset" >imContextReset</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextSetCursorLocation" >imContextSetCursorLocation</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ARectangle" >Rectangle</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextSetUsePreedit" >imContextSetUsePreedit</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextSetSurrounding" >imContextSetSurrounding</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextGetSurrounding" >imContextGetSurrounding</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A >))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextDeleteSurrounding" >imContextDeleteSurrounding</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextPreeditStart" >imContextPreeditStart</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextPreeditEnd" >imContextPreeditEnd</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextPreeditChanged" >imContextPreeditChanged</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextCommit" >imContextCommit</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextRetrieveSurrounding" >imContextRetrieveSurrounding</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AimContextDeleteSurrounding%27" >imContextDeleteSurrounding'</A > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >)</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="1" ><A NAME="1" >Class Hierarchy </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" ><PRE > | <TT ><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObject" >GObject</A ></TT > | +----IMContext | +----IMContextSimple | +----<TT ><A HREF="Graphics-UI-Gtk-Misc-IMMulticontext.html#t%3AIMMulticontext" >IMMulticontext</A ></TT > </PRE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="2" ><A NAME="2" >Types </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:IMContext" ><A NAME="t%3AIMContext" ></A ></A ><B >IMContext</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#IMContext" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:IMContext')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:IMContext" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq" >Eq</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd" >Ord</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass" >ObjectClass</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass" >ObjectClass</A > o => <A NAME="t:IMContextClass" ><A NAME="t%3AIMContextClass" ></A ></A ><B >IMContextClass</B > o </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#IMContextClass" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:IMContextClass')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:IMContextClass" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > <A HREF="Graphics-UI-Gtk-Misc-IMMulticontext.html#t%3AIMMulticontext" >IMMulticontext</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:castToIMContext" ><A NAME="v%3AcastToIMContext" ></A ></A ><B >castToIMContext</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#castToIMContext" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:gTypeIMContext" ><A NAME="v%3AgTypeIMContext" ></A ></A ><B >gTypeIMContext</B > :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType" >GType</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#gTypeIMContext" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:toIMContext" ><A NAME="v%3AtoIMContext" ></A ></A ><B >toIMContext</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#toIMContext" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="3" ><A NAME="3" >Methods </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextSetClientWindow" ><A NAME="v%3AimContextSetClientWindow" ></A ></A ><B >imContextSetClientWindow</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextSetClientWindow" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > <A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow" >DrawWindow</A ></TD ><TD CLASS="rdoc" ><TT >window</TT > - the client window. <TT ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing" >Nothing</A ></TT > indicates that the previous client window no longer exists. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Set the client window for the input context; this is the <TT ><A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow" >DrawWindow</A ></TT > in which the input appears. This window is used in order to correctly position status windows, and may also be used for purposes internal to the input method. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextGetPreeditString" ><A NAME="v%3AimContextGetPreeditString" ></A ></A ><B >imContextGetPreeditString</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextGetPreeditString" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >, [[<A HREF="/usr/share/doc/ghc/html/libraries/pango-0.11.2/Graphics-Rendering-Pango-Enums.html#t%3APangoAttribute" >PangoAttribute</A >]], <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A >)</TD ><TD CLASS="rdoc" ><TT >(str, attrs, cursorPos)</TT > Retrieved string, attributes to apply to the string, position of cursor. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Retrieve the current preedit string for the input context, and a list of attributes to apply to the string. This string should be displayed inserted at the insertion point. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextFilterKeypress" ><A NAME="v%3AimContextFilterKeypress" ></A ></A ><B >imContextFilterKeypress</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextFilterKeypress" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="Graphics-UI-Gtk-Gdk-EventM.html#t%3AEventM" >EventM</A > <A HREF="Graphics-UI-Gtk-Gdk-EventM.html#t%3AEKey" >EKey</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" >returns <TT >True</TT > if the input method handled the key event. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Allow an input method to internally handle key press and release events. If this function returns <TT >True</TT >, then no further processing should be done for this key event. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextFocusIn" ><A NAME="v%3AimContextFocusIn" ></A ></A ><B >imContextFocusIn</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextFocusIn" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Notify the input method that the widget to which this input context corresponds has gained focus. The input method may, for example, change the displayed feedback to reflect this change. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextFocusOut" ><A NAME="v%3AimContextFocusOut" ></A ></A ><B >imContextFocusOut</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextFocusOut" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Notify the input method that the widget to which this input context corresponds has lost focus. The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextReset" ><A NAME="v%3AimContextReset" ></A ></A ><B >imContextReset</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextReset" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Notify the input method that a change such as a change in cursor position has been made. This will typically cause the input method to clear the preedit state. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextSetCursorLocation" ><A NAME="v%3AimContextSetCursorLocation" ></A ></A ><B >imContextSetCursorLocation</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextSetCursorLocation" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ARectangle" >Rectangle</A ></TD ><TD CLASS="rdoc" ><TT >area</TT > - new location </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Notify the input method that a change in cursor position has been made. The location is relative to the client window. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextSetUsePreedit" ><A NAME="v%3AimContextSetUsePreedit" ></A ></A ><B >imContextSetUsePreedit</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextSetUsePreedit" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" ><TT >usePreedit</TT > - whether the IM context should use the preedit string. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Sets whether the IM context should use the preedit string to display feedback. If <TT >usePreedit</TT > is <TT >False</TT > (default is <TT >True</TT >), then the IM context may use some other method to display feedback, such as displaying it in a child of the root window. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextSetSurrounding" ><A NAME="v%3AimContextSetSurrounding" ></A ></A ><B >imContextSetSurrounding</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextSetSurrounding" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A ></TD ><TD CLASS="rdoc" ><TT >text</TT > - text surrounding the insertion point, as UTF-8. the preedit string should not be included within <TT >text</TT >. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" ><TT >cursorIndex</TT > - the index of the insertion cursor within <TT >text</TT >. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Sets surrounding context around the insertion point and preedit string. This function is expected to be called in response to the <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContext" >IMContext</A ></TT >::retrieve_surrounding signal, and will likely have no effect if called at other times. </TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextGetSurrounding" ><A NAME="v%3AimContextGetSurrounding" ></A ></A ><B >imContextGetSurrounding</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextGetSurrounding" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A >))</TD ><TD CLASS="rdoc" ><TT >Maybe (text,cursorIndex)</TT > Text holding context around the insertion point and the index of the insertion cursor within <TT >text</TT >. <TT ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing" >Nothing</A ></TT > if no surrounding text was provided. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" ><P >Retrieves context around the insertion point. Input methods typically want context in order to constrain input text based on existing text; this is important for languages such as Thai where only some sequences of characters are allowed. </P ><P >This function is implemented by emitting the <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextRetrieveSurrounding" >imContextRetrieveSurrounding</A ></TT > signal on the input method; in response to this signal, a widget should provide as much context as is available, up to an entire paragraph, by calling <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextSetSurrounding" >imContextSetSurrounding</A ></TT >. Note that there is no obligation for a widget to respond to the <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextRetrieveSurrounding" >imContextRetrieveSurrounding</A ></TT > signal, so input methods must be prepared to function without context. </P ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextDeleteSurrounding" ><A NAME="v%3AimContextDeleteSurrounding" ></A ></A ><B >imContextDeleteSurrounding</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextDeleteSurrounding" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" ><TT >offset</TT > - offset from cursor position in chars; a negative value means start before the cursor. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" ><TT >nChars</TT > - number of characters to delete. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" >returns <TT >True</TT > if the signal was handled. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" ><P >Asks the widget that the input context is attached to to delete characters around the cursor position by emitting the <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextDeleteSurrounding" >imContextDeleteSurrounding</A ></TT > signal. </P ><P >In order to use this function, you should first call <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextGetSurrounding" >imContextGetSurrounding</A ></TT > to get the current context, and call this function immediately afterwards to make sure that you know what you are deleting. You should also account for the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted. </P ><P >This function is used by an input method that wants to make substitutions in the existing text in response to new input. It is not useful for applications. </P ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="4" ><A NAME="4" >Signals </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextPreeditStart" ><A NAME="v%3AimContextPreeditStart" ></A ></A ><B >imContextPreeditStart</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextPreeditStart" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >This signal is emitted when a new preediting sequence starts. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextPreeditEnd" ><A NAME="v%3AimContextPreeditEnd" ></A ></A ><B >imContextPreeditEnd</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextPreeditEnd" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >This signal is emitted when a preediting sequence has been completed or canceled. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextPreeditChanged" ><A NAME="v%3AimContextPreeditChanged" ></A ></A ><B >imContextPreeditChanged</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextPreeditChanged" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >This signal is emitted whenever the preedit sequence currently being entered has changed. It is also emitted at the end of a preedit sequence, in which case <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextGetPreeditString" >imContextGetPreeditString</A ></TT > returns the empty string. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextCommit" ><A NAME="v%3AimContextCommit" ></A ></A ><B >imContextCommit</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextCommit" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >This signal is emitted when a complete input sequence has been entered by the user. This can be a single character immediately after a key press or the final result of preediting. Parameters: </P ><P ><TT >str</TT > - the completed character(s) entered by the user </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextRetrieveSurrounding" ><A NAME="v%3AimContextRetrieveSurrounding" ></A ></A ><B >imContextRetrieveSurrounding</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextRetrieveSurrounding" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >This signal is emitted when the input method requires the context surrounding the cursor. The callback should set the input method surrounding context by calling <TT ><A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#v%3AimContextSetSurrounding" >imContextSetSurrounding</A ></TT >. </P ><P >Returns True if the signal was handled. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:imContextDeleteSurrounding'" ><A NAME="v%3AimContextDeleteSurrounding%27" ></A ></A ><B >imContextDeleteSurrounding'</B > :: <A HREF="Graphics-UI-Gtk-Abstract-IMContext.html#t%3AIMContextClass" >IMContextClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal" >Signal</A > self (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >)</TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-IMContext.html#imContextDeleteSurrounding%27" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >This signal is emitted when the input method needs to delete all or part of the context surrounding the cursor. Parameters: </P ><P ><TT >offset</TT > - the character offset from the cursor position of the text to be deleted. A negative value indicates a position before the cursor. </P ><P ><TT >n_chars</TT > - the number of characters to be deleted. </P ><P >Returns True if the signal was handled. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.1</TD ></TR ></TABLE ></BODY ></HTML >