GtkEditable::insert_text
void insert_text(string
text, int
position);
Inserts text at the given position.
Пример 54. Inserting text at the beginning
$text = $editable->insert_text(0, 'begin');
|
Пример 55. Inserting text at the end
$text = $editable->insert_text(
strlen($editable->get_chars(0, -1)),
'end'
);
|