Signal
Gtk.TextBuffer::insert-text
Declaration
void
insert_text (
GtkTextBuffer self,
const GtkTextIter* location,
gchar* text,
gint len,
gpointer user_data
)
Description [src]
Emitted to insert text in a GtkTextBuffer
.
Insertion actually occurs in the default handler.
Note that if your handler runs before the default handler
it must not invalidate the location
iter (or has to
revalidate it). The default signal handler revalidates
it to point to the end of the inserted text.
See also: [method@Gtk,TextBuffer.insert],
gtk_text_buffer_insert_range()
.
Default handler: | The default handler is called after the handlers added via |
Parameters
location |
GtkTextIter |
position to insert |
|
Ownership is not transferred to the callee | |
text |
gchar* |
the UTF-8 text to be inserted |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
len |
gint |
length of the inserted text in bytes |