Method

GtkTextBufferinsert_at_cursor

Declaration [src]

void
gtk_text_buffer_insert_at_cursor (
  GtkTextBuffer* buffer,
  const gchar* text,
  gint len
)

Description [src]

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

Parameters

text

Type: const gchar*

Text in UTF-8 format.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
len

Type: gint

Length of text, in bytes.