| Allegro CL version 6.2 Minimally revised from 6.1 |
Arguments: window
This generic function is called whenever a window receives the keyboard focus. Applications may add :after methods in order to be notified when this occurs. The built-in methods should not be overridden. See also clear-focus.
An application may also call set-focus to move the keyboard focus to a particular window. This may not be particularly useful in most applications, because:
An application may also pass nil
to set-focus to remove the
keyboard focus from any window in the current thread, if any such
window currently has the focus. This may be useful for momentarily
disabling keyboard input, though with-events-disabled (which
disables mouse events as well as keyboard input) may be preferable in
most cases.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page has had minimal revisions compared to the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Minimally revised from 6.1 |