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

interface-document-modified-p Accessor

Summary

Gets and sets the document-modified flag in the interface.

Package

capi

Signature

interface-document-modified-p interface => value

(setf interface-document-modified-p) value interface => value

Arguments
interface
A CAPI interface.
value
A boolean.
Values
value
A boolean.
Description

The accessor interface-document-modified-p gets and sets the document-modified flag in the interface interface.

Currently this only has a visible effect on Cocoa, where an interface whose document is modified is flagged by adding a dark dot in the middle of its Close button (the red button at top-left of the window).

On other platforms the document-modified state is merely remembered.

See also

interface
11.5.3 Indicating a changed document


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