GtkTextBuffer::insert_at_cursor

void insert_at_cursor(string text [, int len = -1]);

Calls the insert() method, using the current cursor position as the insertion point.