Gtk.IMContext::retrieve-surrounding

function callback(i_m_context, ):Boolean;

The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor. The callback should set the input method surrounding context by calling the Gtk.IMContext.prototype.set_surrounding method.

i_m_context

instance of Gtk.IMContext that is emitting the signal

Returns

true if the signal was handled.