GtkMozEmbed is an easy-to-use widget that will allow you to embed a Mozilla browser window into your Gtk application.
It's designed to be easy to use and uncomplicated to make the barrier for use as low as possible. This means that the functionality exposed should cover about 80% of uses. If you want to get at some of Mozilla's higher brain functions it means that you will have to write your own embedding widget.
A sweet example of a GtkMozEmbed application: Newton is a (serverless) desktop wiki applet for GNOME.
Using GtkMozEmbed
These instructions are for eXe developers wanting to build eXe from source.
On Fedora Core 4 Linux
- yum install gnome-python2-gtkmozembed
- export LD_LIBRARY_PATH=/usr/lib/mozilla-1.7.8 (add to your .bash_profile)
- in exe.conf set greDir = /usr/lib/mozilla-1.7.8 (exe.conf is in ~/.exe)
On Gentoo Linux
- emerge gtkmozembed?
On Windows
- NB: you will need to upgrade to Python 2.4 (See BuildingFromSource for a list of all the libraries needed)
- install PyGTK 2.6 from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
- download [http:/downloads/exe_gre_20050805.zip exe_gre_20050805.zip] and unzip
- add exe_gre_20050805 directorys to your PATH variable
- install GTK 2.6 from http://prdownloads.sourceforge.net/gladewin32/gtk-win32-2.6.8-rc1.exe?download
- copy exe_gre_20050805/gtkmozembed.dll (and pdb) to c:\python24\Libs\site-packages\gtk2-2.0
- in exe.conf set greDir = exe_gre_20050805
Building GtkMozEmbed
GtkMozEmbed links
- http://www.mozilla.org/unix/gtk-embedding.html
- http://zacbowling.com/projects/gtkembedmoz/
- http://zacbowling.com/blog/2005/04/22/carbon-based-unit-2/
- https://bugzilla.mozilla.org/show_bug.cgi?id=256560
- http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
- http://www.gimp.org/~tml/gimp/win32/
- http://gimp-win.sourceforge.net/
Attachments (2)
- exe_gtk_20050808.zip (5.6 MB) - 2009-05-22.
- exe_gtk_20050805.1.zip (5.6 MB) - 2009-05-22.