Re: gtkmozembed view page source & print
- From: Tommi Komulainen <tommi komulainen nokia com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtkmozembed view page source & print
- Date: Tue, 18 May 2004 11:02:53 +0300
On Fri, 2004-05-14 at 14:50, ext Miraclesoa Miraclesoa wrote:
Hi
I am using the gtkmozembed widget inside my
application. I want to print the current page. I was
looking in the internet and I didn't find anything.
Does anybody know how to get current content page? Is
this possible? Print the page?
GtkMozEmbed doesn't have nice and clean interface for printing (or
zooming, or a couple of other useful functions), you need to use the
'gtk_moz_embed_get_nsIWebBrowser' in gtkmozembed_internal.h and dig
through the XPCOM components to make it happen.
You can find examples from galeon and epiphany, for example. See
galeon/mozilla/mozilla-embed.cpp(impl_print_*) and
galeon/mozilla/GaleonWrapper.cpp(GaleonWrapper::Print*)
--
Tommi Komulainen <tommi komulainen nokia com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]