NextPrevUpTopContentsIndex

accepts-focus-p

Generic Function
Summary

Determines if an element accepts the focus.

Package

capi

Signature

accepts-focus-p element => result

Arguments

element

A CAPI element.

Values

result

A boolean.

Description

Determines if the element element accepts the focus for user input, and controls tabstops.

The method on element uses the value of the accepts-focus-p slot, but methods some subclasses override this.

accepts-focus-p also influences whether a pane is a tabstop. On Microsoft Windows a pane acts as a tabstop if and only if the function accepts-focus-p returns true and the element accepts-focus-p initarg value is :force . On Motif and Cocoa, a pane acts as a tabstop if and only if the function accepts-focus-p returns true.

See also

element
pane-has-focus-p
set-object-automatic-resize


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex