Package ch.bailu.gtk.gtk
Interface TextBuffer.OnInsertText
- Enclosing class:
- TextBuffer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onInsertText
(TextIter location, Str text, int len) Emitted to insert text in a `GtkTextBuffer`.
-
Method Details
-
onInsertText
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],
[method@Gtk.TextBuffer.insert_range].- Parameters:
location
- position to insert @text in @textbuffertext
- the UTF-8 text to be insertedlen
- length of the inserted text in bytes
-