Gtk.Text.max_length – gtk4 Reference Manual
max_length
Description:
public
int
max_length
{
get
;
set
; }
Maximum number of characters that are allowed.
Zero indicates no limit.
2022 vala-language.org