Tracking “resize” event for current glyph window?
RafaŁ Buchner last edited by gferreira
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?
this brings a very old issue back...
follow up here