IMContext
Class
constructor
name
commit
delete
Surrounding
filter
Keypress
focus
In
focus
Out
get
Preedit
String
get
Surrounding
preedit
Changed
preedit
End
preedit
Start
reset
retrieve
Surrounding
set
Client
Window
set
Cursor
Location
set
Surrounding
set
Use
Preedit
NODE-GTK API Reference
Gtk-2.0
Gtk
IMContextClass
Class IMContextClass
Hierarchy
IMContextClass
Index
Constructors
constructor
Properties
name
Methods
commit
delete
Surrounding
filter
Keypress
focus
In
focus
Out
get
Preedit
String
get
Surrounding
preedit
Changed
preedit
End
preedit
Start
reset
retrieve
Surrounding
set
Client
Window
set
Cursor
Location
set
Surrounding
set
Use
Preedit
Constructors
constructor
new IMContext
Class
(
)
:
Gtk
.
IMContextClass
Returns
Gtk
.
IMContextClass
Properties
Static
name
name
:
string
Methods
commit
commit
(
context
:
Gtk
.
IMContext
, str
:
string
)
:
void
Parameters
context:
Gtk
.
IMContext
str:
string
Returns
void
delete
Surrounding
delete
Surrounding
(
context
:
Gtk
.
IMContext
, offset
:
number
, nChars
:
number
)
:
boolean
Parameters
context:
Gtk
.
IMContext
offset:
number
nChars:
number
Returns
boolean
filter
Keypress
filter
Keypress
(
context
:
Gtk
.
IMContext
, event
:
Gdk
.
EventKey
)
:
boolean
Parameters
context:
Gtk
.
IMContext
event:
Gdk
.
EventKey
Returns
boolean
focus
In
focus
In
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
focus
Out
focus
Out
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
get
Preedit
String
get
Preedit
String
(
context
:
Gtk
.
IMContext
)
:
[
string
,
Pango
.
AttrList
,
number
]
Parameters
context:
Gtk
.
IMContext
Returns
[
string
,
Pango
.
AttrList
,
number
]
get
Surrounding
get
Surrounding
(
context
:
Gtk
.
IMContext
)
:
[
boolean
,
string
,
number
]
Parameters
context:
Gtk
.
IMContext
Returns
[
boolean
,
string
,
number
]
preedit
Changed
preedit
Changed
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
preedit
End
preedit
End
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
preedit
Start
preedit
Start
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
reset
reset
(
context
:
Gtk
.
IMContext
)
:
void
Parameters
context:
Gtk
.
IMContext
Returns
void
retrieve
Surrounding
retrieve
Surrounding
(
context
:
Gtk
.
IMContext
)
:
boolean
Parameters
context:
Gtk
.
IMContext
Returns
boolean
set
Client
Window
set
Client
Window
(
context
:
Gtk
.
IMContext
, window
:
Gdk
.
Window
)
:
void
Parameters
context:
Gtk
.
IMContext
window:
Gdk
.
Window
Returns
void
set
Cursor
Location
set
Cursor
Location
(
context
:
Gtk
.
IMContext
, area
:
Gdk
.
Rectangle
)
:
void
Parameters
context:
Gtk
.
IMContext
area:
Gdk
.
Rectangle
Returns
void
set
Surrounding
set
Surrounding
(
context
:
Gtk
.
IMContext
, text
:
string
, len
:
number
, cursorIndex
:
number
)
:
void
Parameters
context:
Gtk
.
IMContext
text:
string
len:
number
cursorIndex:
number
Returns
void
set
Use
Preedit
set
Use
Preedit
(
context
:
Gtk
.
IMContext
, usePreedit
:
boolean
)
:
void
Parameters
context:
Gtk
.
IMContext
usePreedit:
boolean
Returns
void
IMContext
Class
constructor
name
commit
delete
Surrounding
filter
Keypress
focus
In
focus
Out
get
Preedit
String
get
Surrounding
preedit
Changed
preedit
End
preedit
Start
reset
retrieve
Surrounding
set
Client
Window
set
Cursor
Location
set
Surrounding
set
Use
Preedit
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfMl8wLkd0ay5JTUNvbnRleHRDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbn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