struct Gtk::TextBuffer::ApplyTagSignal

Overview

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: Gtk::TextBuffer#apply_tag, Gtk::TextBuffer#insert_with_tags, Gtk::TextBuffer#insert_range.

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, detail = nil) new

Instance Method Detail

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

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

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

def emit(tag : Gtk::TextTag, start : Gtk::TextIter, end _end : Gtk::TextIter) : Nil #

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

The signal name