Entry.getMaxLength

Retrieves the maximum allowed length of the text in @entry. See gtk_entry_set_max_length().

This is equivalent to:

|[<!-- language="C" --> GtkEntryBuffer *buffer; buffer = gtk_entry_get_buffer (entry); gtk_entry_buffer_get_max_length (buffer); ]|

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

class Entry
int
getMaxLength
()

Meta