locate-interface
class-spec
&rest
initargs
&key
screen
no-busy-interface
&allow-other-keys =>
interface
A specifier for a subclass of interface.
Initialization arguments for class-spec .
A screen or
nil
.
The generic function
locate-interface
finds an interface of the class specified by
class-spec
that matches
initargs
and
screen
.
First,
locate-interface
finds all interfaces of the class specified by
class-spec
by calling collect-interfaces with
class-spec
and
screen
. The first of these which match
initargs
(by interface-match-p) is returned.
If there is no match, then
locate-interface
finds the first of these which can be reused for
initargs
, by interface-reuse-p. This reusable interface is reinitialized by reinitialize-interface and returned.
no-busy-interface
controls the use of the busy cursor during reinitializing of a reusable interface. If
no-busy-interface
is
nil
, then this interface has the busy cursor during reinitialization. If
no-busy-interface
is true, then there is no busy cursor.
If no matching or reusable interface is found, or if global interface re-use is disabled by
(setf reuse-interfaces-p)
, then
locate-interface
returns
nil
.
CAPI Reference Manual - 15 Dec 2011