Widget.window - multiple declarations
Function Widget.window
returns window (if widget or its parent is attached to window)
Function Widget.window
sets window (to be used for top level widget from Window implementation). TODO: hide it from API?