in #GtkEntry, or 0 if there is no maximum.
Entry.getMaxLength
int getMaxLength()Retrieves the maximum allowed length of the text in entry. See gtk.entry.Entry.setMaxLength.
This is equivalent to getting entry's #GtkEntryBuffer and calling gtk.entry_buffer.EntryBuffer.getMaxLength on it.
Returns
the maximum allowed number of characters