Gtk.TextBuffer.can_undo – gtk4 Reference Manual
can_undo
Description:
public
bool
can_undo
{
get
; }
Denotes that the buffer can undo the last applied action.
2022 vala-language.org