connectApplyTag

fun connectApplyTag(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (tag: TextTag, start: TextIter, end: TextIter) -> Unit): <Error class: unknown class>

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

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: tag the applied tag; start the start of the range the tag is applied to; end the end of the range the tag is applied to