Gtk.Entry.max_length – gtk4 Reference Manual
max_length
Description:
public
int
max_length
{
get
;
set
; }
Maximum number of characters for this entry.
2022 vala-language.org