Method
Gtk.Editable.insert_text
Declaration [src]
void
gtk_editable_insert_text (
GtkEditable* editable,
const char* text,
int length,
int* position
)
Description [src]
Inserts length
bytes of text
into the contents of the
widget, at position position
.
Note that the position is in characters, not in bytes.
The function updates position
to point after the newly
inserted text.
Parameters
text |
const char* |
the text to append |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
length |
int |
the length of the text in bytes, or -1 |
|
position |
int* |
location of the position text will be inserted at |
|
Direction: in-out | |
Ownership of the data is transferred to the callee |