FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

default-application-window-subkey

Arguments:

Returns the default value for the subkey argument of the functions add-application-window, find-application-window, and remove-application-window. It is probably not useful for an application to call this function directly. It is also sufficiently obscure that you likely need not concern yourself with it.

On platforms where Allegro's threads are native operating system threads (in which case the value of *use-single-cg-event-handling-process* is nil), this function returns the current process. On non-native thread platforms, this function returns the keyword :global.

The idea behind the subkey argument to add-application-window was to allow windows in distinct processes to have the same name, and still allow find-application-window to find the correct window when called in event-handler callback code of windows in the same process. This works because event callback code runs in the creation-process of each window. But on non-native threads platforms, this does not work out because there is only a single event queue for the single operating system thread, and so the events for windows created in all Lisp processes are handled in a single event-handling process. So the subkey is effectively not used by default on these platforms.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version