Gtk.EntryBuffer.max_length – gtk4 Reference Manual
max_length
Description:
public
int
max_length
{
get
;
set
; }
The maximum length (in characters) of the text in the buffer.