Called via gtk.imcontext.IMContext.setSurrounding in response
to signal #GtkIMContext::retrieve-surrounding to update the input
method’s idea of the context around the cursor. It is not necessary to
override this method even with input methods which implement
context-dependent behavior. The base implementation is sufficient for
gtk.imcontext.IMContext.getSurrounding to work.
Called via gtk.imcontext.IMContext.setSurrounding in response to signal #GtkIMContext::retrieve-surrounding to update the input method’s idea of the context around the cursor. It is not necessary to override this method even with input methods which implement context-dependent behavior. The base implementation is sufficient for gtk.imcontext.IMContext.getSurrounding to work.