getMaxLength

open fun getMaxLength(): Int

Retrieves the maximum allowed length of the text in @self.

See method@Gtk.Text.set_max_length.

This is equivalent to getting @self's GtkEntryBuffer and calling method@Gtk.EntryBuffer.get_max_length on it.

Return

the maximum allowed number of characters in GtkText, or 0 if there is no maximum.