CurrentWindow
Wolfram Kernel
Execution environment
Notebook`Editor`Kernel`FrontSubmitService`
Context
CurrentWindow[] _WindowObj
returns a window socket object from the evaluation context. The object corresponds to the current socket channel used for the communication with a window, where a cell is evaluated.
Provides WindowObj
Notes on projected cells
CurrentWindow[]
will return an object pointing to the window, where a cell was projected. To get the window object of the parent notebook window use
CurrentWindow["Origin"]
It is used by FrontSubmit, FrontFetch and FrontFetchAsync