Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Entry

Method GTK2.Entry()->set_max_length()


Method set_max_length

GTK2.Entry set_max_length(int maxlen)

Description

Sets the maximum allowed length of the contents. If the current contents are longer than the given length, then they will be truncated to fit. Range is 0-65536. 0 means no maximum.