[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sub-dialog-items ?
- To: info mcl <info-mcl@cambridge.apple.com>
- Subject: sub-dialog-items ?
- From: Karsten Poeck <Karsten_Poeck@ira.uka.de>
- Date: Thu, 8 Aug 91 9:22:51 CET
To construct a user-defined dialog-item with sub-dialog-items
I usually shadowed add-self-to-dialog, and remove-self-dialog
of the user-defined dialog-item to add/remove the sub-items.
This worked fine in 1.3.2 but not in MCL2.0b1p3 with
install-view-in-window and remove-view-from-window. The problem
is that if I close the window with the dialog-items, I get
an error message like:
> Error: Attempt to nullify an already null view wptr
> While executing: #<STANDARD-METHOD REMOVE-VIEW-FROM-WINDOW :AFTER
(SIMPLE-VIEW)>
> Type Command-. to abort.
It seems that the system also wants to remove
the sub-dialog-items without check if they are already removed
Which method do I have to shadow in 2.0b1p3 to achieve the
same result with add-self-to-dialog,remove-self-dialog in 1.3.2?
Perhaps set-view-container ?
Karsten Poeck
University of Karlsruhe