




 
If the default is not appropriate, then the programmer needs to supply the owner. This 
owner
 argument can be any CAPI pane that is currently displayed, and the top level interface of the pane is used as the actual owner. A CAPI pane owner must be running in the current process (see the 
process
 argument to 
display
). Creating cross-process ownership can lead to deadlocks.
The 
owner
 can also be a 
screen
 object, which tells the system on which screen to put the dialog, but none of the windows will be the dialog's owner.
The 
owner
 can be supplied by the keyword argument 
:owner
 in functions such as 
display-dialog
 and 
print-dialog
. Other functions such as 
prompt-for-string
 and 
prompt-for-file
 can be supplied an owner in the 
:popup-args
 list as a pair 
:owner
 
owner
.
CAPI User Guide (Unix version) - 30 Aug 2011