SOLVED fontDidClose observer – how to get RFont object, that has been closed?
RafaŁ Buchner last edited by gferreira
Like in the topic:
this doesn't work for me (I think it used to work a few months ago, but I'm not sure about it).
The only solution is to use
from mojo.events import addObserver, removeObserver class Test(): def __init__(self): addObserver(self, "fontDidClose","fontDidClose") def fontDidClose(self,info): print(">>!>>>",info) print(info['font']) # doesn't work Test()
gferreira last edited by