GtkIMContextClass.getSurrounding

Called via gtk.imcontext.IMContext.getSurrounding 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.

struct GtkIMContextClass
extern (C)
bool function(GtkIMContext* context, char** text, int* cursorIndex) getSurrounding;