Method

Gtk.TextBuffer.insert_at_cursor

Declaration [src]

void
gtk_text_buffer_insert_at_cursor (
  GtkTextBuffer* buffer,
  const char* text,
  int len
)

Description [src]

Inserts text in buffer.

Simply calls gtk_text_buffer_insert(), using the current cursor position as the insertion point.

Parameters

text const char*
 

text in UTF-8 format

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string
len int
 

length of text, in bytes