Also, it seems that button click events are not being bubbled up. I have tried to capture them for a paned handle using the main parent window but when I move the handle it it never gets called.

The reason I tried this is that it seems that the y coordinate is relative to the child rather than to the container itself and this made it hard to work with.

I'm going to try to translate them to the parent or find some other method(maybe I can find the specific child widget and somehow calculate it from there).