Package: gtk

Accessor gtk:entry-completion-minimum-key-length

Lambda List

gtk:entry-completion-minimum-key-length (object)

Syntax

(gtk:entry-completion-minimum-key-length object) => length
(setf (gtk:entry-completion-minimum-key-length object) length)

Arguments

object -- a gtk:entry-completion object
length -- an integer with the minimum length of the key in order to start completing

Details

Accessor of the minimum-key-length slot of the gtk:entry-completion class. The gtk:entry-completion-minimum-key-length function returns the minimum key length as set for the entry completion. The (setf gtk:entry-completion-minimum-key-length) function sets the length of the search key for the entry completion to be at least length.

This is useful for long lists, where completing using a small key takes a lot of time and will come up with meaningless results anyway, that is, a too large dataset.

Warning

The gtk:entry-completion implementation is deprecated since 4.10. This object will be removed in GTK 5.
 

See also

2024-7-30