Entry.getMaxLength

Retrieves the maximum allowed length of the text in entry. See Entry.setMaxLength.

This is equivalent to getting entry's gtk.EntryBuffer and calling Entry.bufferGetMaxLength on it.

class Entry
int
getMaxLength
()

Return Value

Type: int

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