gtkIMContextSetSurrounding: gtkIMContextSetSurrounding

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R View source: R/gtkManuals.R

Description

Sets surrounding context around the insertion point and preedit string. This function is expected to be called in response to the GtkIMContext::retrieve_surrounding signal, and will likely have no effect if called at other times.

Usage

1
gtkIMContextSetSurrounding(object, text, cursor.index)

Arguments

object

a GtkIMContext

text

text surrounding the insertion point, as UTF-8. the preedit string should not be included within text.

cursor.index

the byte index of the insertion cursor within text.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.