Package: gtk

Accessor gtk:entry-buffer-max-length

Lambda List

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

Syntax

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

Arguments

object -- a gtk:entry-buffer object
length -- an integer for 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 gtk:entry-buffer-max-length function returns the maximum number of characters allowed in the entry buffer, or 0 if there is no maximum. The (setf gtk:entry-buffer-max-length) function sets the maximum allowed length of the contents of the entry buffer. If the current content is longer than the given length, it will be truncated to fit.
 

See also

2025-2-13