struct Gtk::TextBuffer::InsertTextSignal
- Gtk::TextBuffer::InsertTextSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted to insert text 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 point to the end of the inserted text.
See also: Gtk::TextBuffer#insert
,
Gtk::TextBuffer#insert_range
.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/text_buffer.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::TextIter, String, Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::TextIter, String, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::TextBuffer, Gtk::TextIter, String, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(location : Gtk::TextIter, text : String, len : Int32) : Nil
-
#name : String
The signal name
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::TextIter, String, Int32, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::TextIter, String, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::TextBuffer, Gtk::TextIter, String, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#