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
GJS 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
, n_chars
:
number
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
offset:
number
n_chars:
number
Returns
void
filter_
key_
event
filter_
key_
event
(
context
:
WebKit2
.
InputMethodContext
, key_event
:
Gdk
.
Event
)
:
boolean
Parameters
context:
WebKit2
.
InputMethodContext
key_event:
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
, cursor_index
:
number
, selection_index
:
number
)
:
void
Parameters
context:
WebKit2
.
InputMethodContext
text:
string
length:
number
cursor_index:
number
selection_index:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJXZWJLaXQyXzVfMC5XZWJLaXQyLklucHV0TWV0aG9kQ29udGV4dENsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJ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