EntryBuffer.getMaxLength

int getMaxLength()

Retrieves the maximum allowed length of the text in buffer. See gtk.entry_buffer.EntryBuffer.setMaxLength.

Returns

the maximum allowed number of characters

in #GtkEntryBuffer, or 0 if there is no maximum.