I've authored a window in PySide (via QDialog), and recently made it 
dockable by inheriting from 
maya.app.general.mayaMixin.MayaQWidgetDockableMixin  (in 2015). 
 Surprisingly easy.

In the QDialog's closeEvent method, I do a bit of cleaning up of API 
callbacks. What I've found is:  If the window is floating and *not docked*, 
the closeEvent code executes.  But if the window is docked and closed (via 
the [x] in the corner), the closeEvent doesn't execute.

Any thoughts on what I need to do to track this close state?  Or possibly 
another method to use when closing the docked window?

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/2ff28437-2151-43e4-8629-13f35ad7839e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to