Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

pastable

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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version