signal callback delegate or function to connect
bool callback(int offset, int nChars, gtk.imcontext.IMContext iMContext)
offset the character offset from the cursor position of the text to be deleted. A negative value indicates a position before the cursor. (optional)
nChars the number of characters to be deleted (optional)
iMContext the instance the signal is connected to (optional)
Returns true if the signal was handled.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to DeleteSurrounding signal.
The ::delete-surrounding signal is emitted when the input method needs to delete all or part of the context surrounding the cursor.