IMContext.addOnRetrieveSurrounding

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_im_context_set_surrounding() method.

class IMContext
gulong
addOnRetrieveSurrounding
(
bool delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

TRUE if the signal was handled.