| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: dialog-item
Returns whether anything will be done when paste-selection or insert-selection is
called on dialog-item or its widget-window
. The value of this
property may be set by calling (setf pastable), or
it may be set in the inspector when laying out forms in the IDE.
If nil
, then paste-selection or insert-selection will do
nothing and will return nil
. Otherwise they
will proceed as usual (though insertion is still done only when there
is an applicable method to do it).
The default value is t
for text-editing
widgets, where text insertion is typically allowed, and nil
elsewhere.
If the pastable property is
true for a single-item-list
or multi-item-list
, then a
pasted value will be inserted just before the currently focused item
unless the property value is the special keyword
:after
, in which case it will inserted just after
the currently focused item. An item-list will not paste a value that
is already in its range according to the widget's on-change-test function.
A combo-box
can cut and
paste text in its type-in pane if it is typable (as well as cuttable and/or pastable), but cutting and pasting will never
remove or add items to its range as with an item-list.
See also cuttable and cg-clipboard.htm.
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 |