Displays an interface of a given class, making it if necessary.
capi
find-interface class-name &rest initargs &key screen &allow-other-keys => interface
class-name⇩ |
A specifier for a subclass of interface. |
initargs⇩ |
Initialization arguments for class-name. |
screen⇩ |
A screen or nil . |
interface |
An interface of class class-name. |
The generic function find-interface
finds and displays an interface of the given class class-name that matches initargs and screen.
class-name can be the name of a suitable class, the class itself, or an instance of the class.
screen can be a CAPI object as accepted by convert-to-screen. screen defaults to the default screen.
find-interface
calls locate-interface to locate an existing interface:
If no instance of class class-name exists on screen, then find-interface
creates one by passing class-name and initargs to make-instance, and displays the result on screen.
There are many uses of find-interface
in the LispWorks IDE.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27