All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

pane-interface-copy-object

pane-interface-copy-p

pane-interface-cut-object

pane-interface-cut-p

pane-interface-deselect-all

pane-interface-deselect-all-p

pane-interface-paste-object

pane-interface-paste-p

pane-interface-select-all

pane-interface-select-all-p

pane-interface-undo

pane-interface-undo-p Generic Functions

Summary

Implements "edit/select operations" and the associated predicates for the active pane.

Package

capi

Signatures

pane-interface-copy-object pane interface => object, string, plist

pane-interface-copy-p pane interface => boolean

pane-interface-cut-object pane interface

pane-interface-cut-p pane interface => boolean

pane-interface-deselect-all pane interface

pane-interface-deselect-all-p pane interface => boolean

pane-interface-paste-object pane interface

pane-interface-paste-p pane interface => boolean

pane-interface-select-all pane interface

pane-interface-select-all-p pane interface => boolean

pane-interface-undo pane interface

pane-interface-undo-p pane interface => boolean

Arguments
pane
A pane.
interface
The interface of pane.
Values
object
A Lisp object.
string
A string.
plist
A plist.
boolean
A generalized boolean.
Description

The active pane "edit/select operations" call these generic functions when the active pane does not specify how to perform the operation. Do not call these directly.

interface is the top level interface of pane. The predicate functions (those with names ending with -p) should return true if the operation can be performed. The other functions should perform the operations.

You can implement your own methods specializing on pane and interface classes.

Notes
  1. These generic functions should not display a dialog or do anything that may cause the system to hang. In general this means interacting with anything outside the Lisp image, including files, databases and so on.
  2. The three return values of pane-interface-copy-object are passed to set-clipboard.
See also

active-pane-copy
item-pane-interface-copy-object
set-clipboard
7.6 Edit actions on the active element


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27