getMaxLength

open fun getMaxLength(): Int

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

See method@Gtk.Entry.set_max_length.

Return

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