UNSOLVED Tracking “resize” event for current glyph window?
-
I want to bind glyph window to "resize" described in the vanilla Window documentation. It doesn't work.
This doesn't work:
from mojo.UI import AllGlyphWindows def windowResized(sender): print("window resized!", sender) for w in AllGlyphWindows(): w.window().bind("resize", windowResized)
and it would be wonderful if it would work like that:
from vanilla import * def windowResized(sender): print("window resized!", sender) window = Window((200,200),minSize=(200,200)) window.bind("resize", windowResized) window.open()
Is it possible to achieve?
Cheers
-
this brings a very old issue back...
https://github.com/robotools/vanilla/blob/master/Lib/vanilla/vanillaWindows.py#L465-L466
follow up here