set_modified


Description:

public void set_modified (bool setting)

Used to keep track of whether the buffer has been modified since the last time it was saved.

Whenever the buffer is saved to disk, call `gtk_text_buffer_set_modified (this, FALSE)`. When the buffer is modified, it will automatically toggle on the modified bit again. When the modified bit flips, the buffer emits the [signal@Gtk.TextBuffer: GtkTextBuffer:modified-changed] signal.

Parameters:

this

a `GtkTextBuffer`

setting

modification flag setting