I knew I needed to take a look at taking screenshots when this was
originally posted and had saved Marcus’ excellent snippet for now. I just
noticed Pixmap.grabWindow has been replaced by QScreen.grabWindow in Qt5
(PySide2/PyQt5).

So since Pixmap.grabWindow has been marked as “obsolete” you may want to
take not of that: http://doc.qt.io/qt-5/qpixmap-obsolete.html

// Fredrik
​

-- 
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/CAD%3DwhWMyU9bpNYo8m4H5kJsoFPW_FPppJsEgWuMqsns%2BgwBSvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to