Entry.getMaxLength

int getMaxLength()

Retrieves the maximum allowed length of the text in entry.

See gtk.entry.Entry.setMaxLength.

Returns

the maximum allowed number of characters

in gtk.entry.Entry, or 0 if there is no maximum.