[Webkit-unassigned] [Bug 16493] [GTK] Provide a public printing API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 17 09:11:58 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16493
------- Comment #3 from alp at atoker.com 2008-02-17 09:11 PDT -------
(In reply to comment #2)
> I helped port GtkHTML from GnomePrint to GtkPrint. Here's what I'd recommend
> as an incremental improvement to webkit_web_frame_print(), similar to what we
> did for GtkHTML (ignoring header and footer support):
>
> WEBKIT_API GtkPrintOperationResult
> webkit_web_frame_print (WebKitWebFrame *frame,
> GtkPrintOperation *operation,
> GtkPrintOperationAction action,
> GError **error);
>
Thanks for this proposal. There's one thing I haven't been able to decide that
stopped me from implementing it..
We were originally hoping to make WebFrame independent of GTK+ (only using
GLib) so it could be used in non GTK+/console GLib applications. If we add the
print API to WebFrame, that plan needs to be re-thought.
If we put the print API on WebView, we end up restricting the API only allowing
the main frame to be printed.
I have a feeling there's another simple way of doing this we've missed so far.
Will think about it some more.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list