| 
 | Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version | ||||||||||
Arguments: window-or-widget
Deletes an object from the specified window or widget if possible. Does not place anything onto the clipboard as copy-command and cut-command do.
window-or-widget should an instance of the
basic-pane, dialog-item, or screen class or one of their
subclasses.
This function behaves as copy-command does to pass its action to a child window, except that it calls delete-selection rather than copy-selection on the child window. See copy-command for more information.
Here is the default method for windows and the screen:
(defmethod delete-command ((stream screen-stream))
  (let* ((child (selected-window stream)))
    (if* child
       then (delete-command child)
       else (delete-selection stream))))
In earlier releases, use of this operator was deprecated. It has now been restored to approved status.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| 
 | Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version | ||||||||||