Package: gtk

Accessor gtk-entry-buffer-max-length

Lambda List

gtk-entry-buffer-max-length (object)

Syntax

(gtk-entry-buffer-max-length object) => max-length
(setf gtk-entry-buffer-max-length object) max-length)

Arguments

object -- a gtk-entry-buffer object
max-length -- an integer with the maximum length of the entry buffer, or 0 for no maximum, the value passed in will be clamped to the range [0, 65536]

Details

Accessor of the max-length slot of the gtk-entry-buffer class.

The slot access function gtk-entry-buffer-max-length returns the maximum allowed number of characters in a entry buffer, or 0 if there is no maximum. The slot access function (setf gtk-entry-buffer-max-length) sets the maximum allowed length of the contents of the buffer. If the current contents are longer than the given length, then they will be truncated to fit.
 

See also

2020-5-31