Python: knowing window QWidget rootWidget, how to add close callback to it

Python: knowing window QWidget rootWidget, how to add close callback to it

e_juma
Enthusiast Enthusiast
606 Views
0 Replies
Message 1 of 1

Python: knowing window QWidget rootWidget, how to add close callback to it

e_juma
Enthusiast
Enthusiast

I am not familiar with Python and QT in Maya.

Assuming rootWidget is QWidget of a window. How to intercept the callback or add callback for the window close event?

607 Views
0 Replies
Replies (0)