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

NextPrevUpTopContentsIndex

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.

Signature

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.

Values

There is no meaningful return value.

Description

These functions modify the recent items list in a text-input-pane that has recent-items (see text-input-pane initargs :search-field, :recent-items and :recent-items-name).

text-input-pane-append-recent-items appends the 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 the strings (compared using cl:string-equal), using text-input-pane-set-recent-items with where = :delete.

text-input-pane-prepend-recent-items prepends the 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 the strings. It has the same effect as (setf text-input-pane-recent-items), but takes the strings as &rest arguments.

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) - 3 Aug 2017

NextPrevUpTopContentsIndex