Package ch.bailu.gtk.gtk
Interface TextBuffer.OnApplyTag
- 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
onApplyTag
(TextTag tag, TextIter start, TextIter end) Emitted to apply a tag to a range of text in a `GtkTextBuffer`.
-
Method Details
-
onApplyTag
Emitted to apply a tag to a range of text in a `GtkTextBuffer`.
Applying actually occurs in the default handler.
Note that if your handler runs before the default handler
it must not invalidate the @start and @end iters (or has to
revalidate them).
See also:
[method@Gtk.TextBuffer.apply_tag],
[method@Gtk.TextBuffer.insert_with_tags],
[method@Gtk.TextBuffer.insert_range].- Parameters:
tag
- the applied tagstart
- the start of the range the tag is applied toend
- the end of the range the tag is applied to
-