QtGui.QApplication.activeWindow() Should work On Sep 28, 2015 9:22 PM, "Kurian O.S" <[email protected]> wrote:
> Hey All, > > Is there any fast way to get the nuke main window instance with pyside or > pyqt ? in maya they have > > import maya.OpenMayaUI as mui > ptr = mui.MQtUtil.mainWindow() > parent = sip.wrapinstance(long(ptr), QtGui.QMainWindow) > > Do Nuke have something similar ? > > Thanks > > -- > --:: Kurian ::-- > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
