[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
looking for initargs of make-instance
- Subject: looking for initargs of make-instance
- From: firstname.lastname@example.org (Christopher J. Vogt)
- Date: Sun, 4 Jul 1993 23:16:29 GMT
In article <email@example.com> firstname.lastname@example.org (Karsten Poeck) writes:
>In article <vogtC9MJ8t.email@example.com>, firstname.lastname@example.org (Christopher J.
>> I'm trying to write a function that will list all of the initargs
>> that are available when I do a make-instance, and I don't seem to be
>> able to find them all, maybe it isn't possible?
>You should add
>(function-keywords (find-method #'ccl::window-make-parts
> nil (list (find-class 'window))
>to your function, since initialize-instance ((window window)) calls
>ccl::window-make-parts.I don't know why MCL does not complain about these
>keywords, perhaps there is somewhere a &allow-other-keys clause in
Actually, I'm interested in the general solution, if there is one.
But this brings up another question (I guess I'm really ignorant about
CLOS). I expected that when I do:
(specializer-direct-methods (find-class 'window))
one of the mthods listed would be 'ccl::window-make-parts, but
it is not there. So now I want to know where it is hiding!?
Because I am also interested in knowing all applicable methods
for an instance of a class, and I cannot find this method, although
it does exists when you do (find-method ...
Christopher J. Vogt vogt@netcom.COM
From: El Eh, CA