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

NextPrevUpTopContentsIndex

interface-match-p

Generic Function
Summary

Determines whether an interface is suitable for displaying initargs.

Package

capi

Signature

interface-match-p interface &rest initargs &key &allow-other-keys => matchp

Arguments

interface

An instance of a subclass of interface.

initargs

Initargs for interface .

Values

matchp

A boolean

Description

The generic function interface-match-p returns a true value if interface is suitable for displaying the initargs .

interface-match-p is used by locate-interface. When there is an existing interface for which interface-match-p returns true, then locate-interface returns it.

The default method for interface-match-p always returns nil. You can add methods for your own interface classes.

See also

locate-interface


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex