[webkit-gtk] Print previews

Michael Gratton mike at vee.net
Thu Apr 12 23:23:49 PDT 2018


Hey all,

Is there anyway way to implement a print preview using the Webkit API?

It doesn't look like WebKitPrintOperation supports it natively, right? 
So I was thinking it could be done by creating a new WebKitWebView, 
setting it to use the "print" media type, then displaying that with a 
Print button in a dialog, but I can't see any means to do that.

Any suggestions would be appreciated!

//Mike

-- 
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>



More information about the webkit-gtk mailing list