[Webkit-unassigned] [Bug 79226] [GTK] Implement print preview in WebKit2 GTK+

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 16 06:27:54 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=79226

Milan Crha <mcrha at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcrha at redhat.com

--- Comment #3 from Milan Crha <mcrha at redhat.com> ---
I do not know the rationale behind this, but with respect of the Gtk's print dialog, you get all of that for free, both Print Preview and Export to PDF (yes, that's also sometimes useful), if you just reuse what the gtk offer. All you need to do is to implement three signals on the GtkPrintOperation, as shown in the simple example [1], which can be run in gtk3-demo, Printing->Printing demo. Reuse of the code is beneficial, I believe, especially when you get things for free.

[1] https://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/printing.c#n158

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160216/794ca153/attachment.html>


More information about the webkit-unassigned mailing list