struct Gtk::TextBuffer::ApplyTagSignal

Overview

Emitted to apply a tag to a range of text in a Gtk::TextBuffer.

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 : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

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

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

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

[View source]
def emit(tag : Gtk::TextTag, start : Gtk::TextIter, end _end : Gtk::TextIter) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]