gecko-dev/webshell/embed/gtk
1999-09-06 04:20:50 +00:00
..
examples Removed hardcoded -lpthread for bug #12739 . Configure now checks for -lpthread and responds to --without-pthreads. 1999-08-29 05:56:43 +00:00
lib Added mozilla-config script so that external modules (like say GtkMozilla) can built with the same config (defines) that Mozilla proper does. This has been killing GtkMozilla for libc5 boxes for awhile now. Moved -DMOZILLA_CLIENT out of DEFS. Currenlty, only mozilla-config --cflags returns something useful. 1999-09-06 04:20:50 +00:00
.cvsignore ignore generated files 1999-08-27 06:18:20 +00:00
ABOUT-NLS Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
aclocal.m4 Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
AUTHORS Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
ChangeLog Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
config.guess Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
config.h.in Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
config.sub Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
configure Removed hardcoded -lpthread for bug #12739 . Configure now checks for -lpthread and responds to --without-pthreads. 1999-08-29 05:56:43 +00:00
configure.in Removed hardcoded -lpthread for bug #12739 . Configure now checks for -lpthread and responds to --without-pthreads. 1999-08-29 05:56:43 +00:00
COPYING Update licence to MPL 1.1 1999-05-29 12:38:22 +00:00
INSTALL Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
install-sh Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
ltconfig Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
ltmain.sh Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
Makefile.am Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
Makefile.in Removed hardcoded -lpthread for bug #12739 . Configure now checks for -lpthread and responds to --without-pthreads. 1999-08-29 05:56:43 +00:00
missing Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
mkinstalldirs Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
mozilla_config.mk.in Add a config makefile that can be set by the toplevel config. 1999-08-24 14:43:44 +00:00
NEWS Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
README Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00
stamp-h.in Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree. 1999-05-28 11:34:26 +00:00

General
=======

Ever wanted to use html pages in your app?
Show your help-pages in a fancy way?

Now it's all possible. GtkMozilla is a widget that makes it easy
to embedd the layout engine from the Mozilla project in any Gtk+
program.

Note that Mozilla is a work in progress, and if you use a later
(or earlier) version of the Mozilla sources you might need to
do some small changes.

The tree i've been using is from cvs checked out May 18 1999.

Compilation
===========
To compile GtkMozilla you need a compiled version of the Mozilla
source tree. Then you just need to run configure and point it at
your mozilla directory.

Something like this:
./configure --with-mozilla=/dir/where/mozilla/is

This builds the basic GtkMozilla library and two examples.

Note:
If you use a later version than me you might need to update
the nsSetupRegistry.cpp file. It is just a copy of
mozilla/webshell/tests/viewer/nsSetupRegistry.cpp
in the Mozilla source tree.

Examples
========

When you compiled GtkMozilla two examples are built, simplebrowser
and helpbrowser. simplebrowser is a small app that can be used to
browse the web. helpbrowser is a small demo of how GtkMozilla could
be used to add help facilities to an app. It contains some demo
text taken from the gdb info pages.

To run the demos (or any program using GtkMozilla) you need to
set some enviroment variables. These help mozilla locating
libraries and datafiles it needs.

If you're running bash, just type something like this (replace the dir
 name):

export LD_LIBRARY_PATH=/dir/where/mozilla/is/dist/bin 
export MOZILLA_FIVE_HOME=/dir/where/mozilla/is/dist/bin

Then try out the examples:

examples/simplebrowser/simplebrowser

and

examples/helpbrowser/helpbrowser