Take a look at the basebrowser-* files: http://lxr.mozilla.org/seamonkey/find?string=basebrowser
these are the base configuration files for running an embedded app. beyond that, there isn't much more to running XUL code itself, but you'll probably want to pull in toolkit.jar (for widget and their behavior) modern.jar or classic.jar (for widget appearance) and possibly some subset of en-US.jar and en-win.jar (for text on "Ok" buttons and so forth) - they go in your chrome directory, and must be recognized by your chrome registry. Post again if you have specific problems - it's quite possible that nobody has tried to make an embedded XUL application which isn't Mozilla-the-browser.. there may be discrepancies in the toolkit - for instance referencing a service that isn't included in the standard embedding packages. It would be good to know where these are. Alec David wrote: > Hello all, > > I am trying to embed the gecko rendering engine into a C++ application, so > that my application is able to show XUL user interfaces no matter the > mozilla complete distribution is installed in a computer or not. > > I have some difficulties to guess which are the required libraries among the > many libraries of mozilla. Would anybody know which is the minimun subset I > would have to pick in order to render those user interfaces? Any idea of the > total size in disk space? > > Thanks in advance. > > > >
