Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## insert-selection

Arguments: window-or-widget object

Adds object to the current content of window-or-widget if it knows how to do so, generally at the "current position" in the window or widget. If an insertion is done, then object is returned as the first returned value and a clipboard format is returned as the second value; otherwise `nil` is returned. This function is called by insert-command, which grabs object off of the clipboard to pass to this function.

This function behaves just as paste-selection does, except that any currently selected content is retained instead of being replaced by the inserted content. See paste-selection for more information.

See cg-clipboard.htm.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version