after notebook #createWindow callbackBy default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.
on notebook #createWindow callback