GtkIMContext::delete_surrounding

bool delete_surrounding(int offset, int n_chars);

See also: get_surrounding, set_surrounding()