Gtk.TextBuffer.prototype.get_mark

function get_mark(name:String):Gtk.TextMark {
    // Gjs wrapper for gtk_text_buffer_get_mark()
}

Returns the mark named name in buffer buffer, or null if no such mark exists in the buffer.

name

a mark name

Returns

a Gtk.TextMark, or null