struct Gtk::TextBuffer::InsertChildAnchorSignal

Overview

Emitted to insert a Gtk::TextChildAnchor 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 @anchor.

See also: Gtk::TextBuffer#insert_child_anchor.

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, Gtk::TextChildAnchor, Nil)) : GObject::SignalConnection #

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

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

def emit(location : Gtk::TextIter, anchor : Gtk::TextChildAnchor) : Nil #

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

The signal name