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

NextPrevUpTopContentsIndex

active-pane-copy

active-pane-copy-p

active-pane-cut

active-pane-cut-p

active-pane-deselect-all

active-pane-deselect-all-p

active-pane-paste

active-pane-paste-p

active-pane-select-all

active-pane-select-all-p

active-pane-undo

active-pane-undo-p

Functions
Summary

Perform, or check applicability of, an "edit/select operation" on the active pane.

Signature

active-pane-copy &optional pane

active-pane-copy-p &optional pane

active-pane-cut &optional pane

active-pane-cut-p &optional pane

active-pane-deselect-all &optional pane

active-pane-deselect-all-p &optional pane

active-pane-paste &optional pane

active-pane-paste-p &optional pane

active-pane-select-all &optional pane

active-pane-select-all-p &optional pane

active-pane-undo &optional pane

active-pane-undo-p &optional pane

Description

These functions perform an "edit/select operation" on the active pane, or check if this operation is currently applicable.

The active pane will be the one on the same screen as pane if pane is non-nil, or otherwise the same screen as the default interface.

These functions find the active pane, that is the pane where keyboard input currently goes. Note that this is not necessarily a pane that is recognized by CAPI. The predicates (those with names ending -p) return true if the operation is currently applicable. The other functions tell the active pane to do the operation.

The edit/select operations are implemented by the pane-interface-* generic functions such as pane-interface-copy-object.

It is not an error to do the operation even if the predicate returns false. It will just do nothing useful.

Examples
(example-edit-file "capi/applications/rich-text-editor")
See also

pane-interface-copy-object
Edit actions on the active element


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex