edvin11/15/2016, 7:51 PM
, but I felt it was best to make it clear that
owner = this
means the button, that's why I wrote
. This last snippet also shows an important feature. Even though I open the window over a specific Node, it can still be dragged outside. If people care about this, we can add an option to restrict the window to the bounds of the owner Node.
owner = this@button