struct Gtk::TextBuffer::InsertPaintableSignal

Overview

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

Defined in:

auto/gtk-4.0/text_buffer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Gtk::TextIter, Gdk::Paintable, Nil)) #

def connect(handler : Proc(Gtk::TextIter, Gdk::Paintable, Nil)) #

def connect(handler : Proc(Gtk::TextBuffer, Gtk::TextIter, Gdk::Paintable, Nil)) #

def connect_after(&block : Proc(Gtk::TextIter, Gdk::Paintable, Nil)) #

def connect_after(handler : Proc(Gtk::TextIter, Gdk::Paintable, Nil)) #

def connect_after(handler : Proc(Gtk::TextBuffer, Gtk::TextIter, Gdk::Paintable, Nil)) #

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

def name #