Retrieves the maximum allowed length of the text in entry. A value of 0 indicates no limit.
See also: set_max_length()