| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. | |||||||||
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-2006, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 7.0. This page was not revised from the 6.2 page.
Created 2005.9.20.
| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. | |||||||||