MCPcopy Create free account
hub / github.com/adamn/python-webkit2png / render

Method render

webkit2png/webkit2png.py:210–254  ·  view source on GitHub ↗

The real worker. Loads the page (_load_page) and awaits the end of the given 'delay'. While it is waiting outstanding QApplication events are processed. After the given delay, the Window or Widget (depends on the value of 'grabWholeWindow' is drawn into a QPi

(self, res)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

_load_pageMethod · 0.95
_post_process_imageMethod · 0.95
renderMethod · 0.45

Tested by

no test coverage detected