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

pane-got-focus Generic Function

Summary

A function called when the focus is set programmatically.

Package

capi

Signature

pane-got-focus interface pane

Arguments
interface
The interface of pane.
pane
A CAPI element.
Description

The generic function pane-got-focus is called just before the focus is set in pane by set-pane-focus. interface is the interface of pane.

The supplied primary method does nothing. You may add methods on your own interface classes, which can be useful for example when the focus is set programmatically to a pane which is hidden inside a tab-layout or switchable-layout. Your method can check for this case and modify the layout as required.

See also

set-pane-focus
3.1.5 Focus


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