Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

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