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

The accessor for the max-length slot of the gtk:entry-buffer class gets or sets the maximum number of characters allowed in the entry buffer. Returns 0 if there is no maximum. If the current content is longer than the given length, it will be truncated to fit.
 

See also

2025-08-09