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

NextPrevUpTopContentsIndex

pane-has-focus-p

Generic Function
Summary

Determines whether a pane has the focus.

Package

capi

Signature

pane-has-focus-p pane => focusp

Arguments

pane

A CAPI element.

Values

focusp

A boolean.

Description

The function pane-has-focus-p is the predicate for whether pane currently has the input focus.

Notes

On Motif, pane-has-focus-p cannot be used in menu functions such as the enabled-function or popup-callback of a menu item. It will always return nil, because the focus is on the menu button when the user clicks on it.

See also

accepts-focus-p
pane-descendant-child-with-focus
set-pane-focus
Focus


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

NextPrevUpTopContentsIndex