Called via
gtk.imcontext.IMContext.getSurroundingWithSelection to update the
context around the cursor location. It is not necessary to override
this method even with input methods which implement context-dependent
behavior. The base implementation emits
signal@Gtk.IMContext::retrieve-surrounding and records the context
received by the subsequent invocation of vfunc@Gtk.IMContext.get_surrounding.
Called via gtk.imcontext.IMContext.getSurroundingWithSelection to update the context around the cursor location. It is not necessary to override this method even with input methods which implement context-dependent behavior. The base implementation emits signal@Gtk.IMContext::retrieve-surrounding and records the context received by the subsequent invocation of vfunc@Gtk.IMContext.get_surrounding.