All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

text-input-pane-append-recent-items

text-input-pane-delete-recent-items

text-input-pane-prepend-recent-items

text-input-pane-replace-recent-items Functions

Summary

Modifies the recent items list in a text-input-pane on Cocoa.

Package

capi

Signatures

text-input-pane-append-recent-items text-input-pane &rest strings

text-input-pane-delete-recent-items text-input-pane &rest strings

text-input-pane-prepend-recent-items text-input-pane &rest strings

text-input-pane-replace-recent-items text-input-pane &rest strings

Arguments
text-input-pane
A text-input-pane with recent items.
strings
Strings.
Description

These functions modify the recent items list in text-input-pane, which must have recent-items (see text-input-pane initargs :search-field, :recent-items and :recent-items-name).

text-input-pane-append-recent-items appends strings at the end of the recent items, using text-input-pane-set-recent-items with where = :end.

text-input-pane-delete-recent-items deletes from the recent items any item that matches any of strings (compared using cl:string-equal), using text-input-pane-set-recent-items with where = :delete.

text-input-pane-prepend-recent-items prepends strings at the beginning of the recent items, using text-input-pane-set-recent-items with where = :start.

text-input-pane-replace-recent-items uses text-input-pane-set-recent-items with where = :replace, replacing the recent items in the pane by strings. It has the same effect as (setf text-input-pane-recent-items), but takes the strings as &rest arguments.

None of these function return a meaningful value.

Notes

text-input-pane-append-recent-items, text-input-pane-delete-recent-items, text-input-pane-prepend-recent-items and text-input-pane-replace-recent-items are implemented only on Cocoa.

See also

text-input-pane
text-input-pane-set-recent-items


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42