# Method GTK2.TextBuffer()->insert()

Method insert

  ``GTK2.TextBuffer` insert(`GTK2.TextIter` `iter`, `string` `text`, `int` `len`)`

Description

  Insert len bytes of text at position iter. If len is -1, string will be inserted in its entirely. Emits the 'insert-text' signal. iter is invalidated after insertion, but the default signal handler revalidates it to point to the end of the inserted text.