| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.TextBuffer

# Method GTK2.TextBuffer()->set_modified()

Method set_modified

  `GTK2.TextBuffer set_modified(int setting)`

Description

  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 set_modified(0). When the buffer is modified, it will automatically toggle on the modified bit again. When the modifed bit flips, the buffer emits a "modified-changed" signal.