Re: [webkit-gtk] Print previews

2018-04-13 Thread Michael Gratton

Hey Tom,

On Fri, Apr 13, 2018 at 5:06 PM, Tomas Popela  
wrote:
there was a more-or-less working patch in 
https://bugs.webkit.org/show_bug.cgi?id=79226


Oh thanks - I swear I searched bugzilla for something similar but never 
found this.


Obviously built-in support would be good for this, anyone want to 
review the patch? /:)


//Mike

--
⊨ Michael Gratton, Percept Wrangler.
⚙ 

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] Print previews

2018-04-13 Thread Tomas Popela
Hi Michael,

there was a more-or-less working patch in
https://bugs.webkit.org/show_bug.cgi?id=79226

Tom

On Fri, Apr 13, 2018 at 8:23 AM, Michael Gratton  wrote:

> 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.
> ⚙ 
>
> ___
> webkit-gtk mailing list
> webkit-gtk@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
>
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk