Package ch.bailu.gtk.gtk
Interface TextBuffer.OnInsertPaintable
- 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
onInsertPaintable
(TextIter location, Paintable paintable) Emitted to insert a `GdkPaintable` in a `GtkTextBuffer`.
-
Method Details
-
onInsertPaintable
Emitted to insert a `GdkPaintable` 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 be placed after the inserted @paintable.
See also: [method@Gtk.TextBuffer.insert_paintable].- Parameters:
location
- position to insert @paintable in @textbufferpaintable
- the `GdkPaintable` to be inserted
-