Forum und email

GtkIMContext::set_surrounding

void set_surrounding(string text, int len, int cursor_index);

同时参考: delete_surrounding() , get_surrounding