struct Gtk::TextBuffer::InsertPaintableSignal

Overview

Emitted to insert a Gdk::Paintable in a Gtk::TextBuffer.

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: Gtk::TextBuffer#insert_paintable.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/text_buffer.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : String? = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gtk::TextIter, Gdk::Paintable, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::TextIter, Gdk::Paintable, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::TextBuffer, Gtk::TextIter, Gdk::Paintable, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(location : Gtk::TextIter, paintable : Gdk::Paintable) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name