Input
Method
Context
Class
constructor
parent
Class
name
committed
delete
Surrounding
filter
Key
Event
get
Preedit
notify
Cursor
Area
notify
Focus
In
notify
Focus
Out
notify
Surrounding
preedit
Changed
preedit
Finished
preedit
Started
reset
set
Enable
Preedit
NODE-GTK API Reference
WebKit2-5.0
WebKit2
InputMethodContextClass
Class InputMethodContextClass
Hierarchy
InputMethodContextClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
committed
delete
Surrounding
filter
Key
Event
get
Preedit
notify
Cursor
Area
notify
Focus
In
notify
Focus
Out
notify
Surrounding
preedit
Changed
preedit
Finished
preedit
Started
reset
set
Enable
Preedit
Constructors
constructor
new
Input
Method
Context
Class
(
)
:
WebKit2
.
InputMethodContextClass
Returns
WebKit2
.
InputMethodContextClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
committed
committed
(
context
:
WebKit2
.
InputMethodContext
, text
:
string
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
text:
string
Returns
void
delete
Surrounding
delete
Surrounding
(
context
:
WebKit2
.
InputMethodContext
, offset
:
number
, nChars
:
number
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
offset:
number
nChars:
number
Returns
void
filter
Key
Event
filter
Key
Event
(
context
:
WebKit2
.
InputMethodContext
, keyEvent
:
Gdk
.
Event
)
:
boolean
Parameters
context:
WebKit2
.
InputMethodContext
keyEvent:
Gdk
.
Event
Returns
boolean
get
Preedit
get
Preedit
(
context
:
WebKit2
.
InputMethodContext
)
:
[
string
,
WebKit2
.
InputMethodUnderline
[]
,
number
]
Parameters
context:
WebKit2
.
InputMethodContext
Returns
[
string
,
WebKit2
.
InputMethodUnderline
[]
,
number
]
notify
Cursor
Area
notify
Cursor
Area
(
context
:
WebKit2
.
InputMethodContext
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
x:
number
y:
number
width:
number
height:
number
Returns
void
notify
Focus
In
notify
Focus
In
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
notify
Focus
Out
notify
Focus
Out
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
notify
Surrounding
notify
Surrounding
(
context
:
WebKit2
.
InputMethodContext
, text
:
string
, length
:
number
, cursorIndex
:
number
, selectionIndex
:
number
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
text:
string
length:
number
cursorIndex:
number
selectionIndex:
number
Returns
void
preedit
Changed
preedit
Changed
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
preedit
Finished
preedit
Finished
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
preedit
Started
preedit
Started
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
reset
reset
(
context
:
WebKit2
.
InputMethodContext
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
Returns
void
set
Enable
Preedit
set
Enable
Preedit
(
context
:
WebKit2
.
InputMethodContext
, enabled
:
boolean
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
enabled:
boolean
Returns
void
Input
Method
Context
Class
constructor
parent
Class
name
committed
delete
Surrounding
filter
Key
Event
get
Preedit
notify
Cursor
Area
notify
Focus
In
notify
Focus
Out
notify
Surrounding
preedit
Changed
preedit
Finished
preedit
Started
reset
set
Enable
Preedit
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJXZWJLaXQyXzVfMC5XZWJLaXQyLklucHV0TWV0aG9kQ29udGV4dENsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzR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