getModified

open fun getModified(): Boolean

Indicates whether the buffer has been modified since the last call to method@Gtk.TextBuffer.set_modified set the modification flag to false.

Used for example to enable a “save” function in a text editor.

Return

true if the buffer has been modified