Package: gtk
Function gtk:text-buffer-add-commit-notify
Lambda Listgtk:text-buffer-add-commit-notify (buffer flags notify) ArgumentsReturn ValueThe unsigned integer with a handler ID which may be used to remove
the commit notify callback using the gtk:text-buffer-remove-commit-notify function. Details Adds a gtk:text-buffer-commit-notify callback function to be called
when a change is to be made to the text buffer.
Functions are explicitly forbidden from making changes to the text buffer from
this callback. It is intended for tracking changes to the text buffer only. It may be advantageous to use the gtk:text-buffer-commit-notify callback function over connecting to the GtkTextBuffer::insert-text signal or the GtkTextBuffer::delete-range signal to avoid ordering issues with other signal handlers which may further modify the text buffer. Since 4.16 | See also |
#2024-10-26