Hi, Buola,

web browser embedding without any usage of GTK is possible, however, you need your own, Xlib-based, build of Mozilla/XULRunner. Download the source tree from mozilla.org, add the following line to ~/.mozconfig:

ac_add_options --enable-default-toolkit=xlib
or
ac_add_options --enable-default-toolkit=cairo-xlib

and perform a build. When you use such build, siteWindow attribute is expected to be a handle of Xlib window (Window), not GtkWidget *.

Artem

Buola Buola wrote:
I am planning on embedding a web browser into one application which
doesn't use GTK+ or Qt, just plain xlib and cairo.In the embedding Q/A
page, it says that mozilla doesn't use any toolkit, but the rest of
the information I've read contradicts this. In the API doc page for
nsIEmbeddingSiteWindow, it says about the attribute siteWindow, which
is a pointer to GtkWidget*
Is it possible at all to embed mozilla without using GTK?
Is the xlib toolkit backend for mozilla functional or complete?
Is there anyone who has embedded mozilla using just xlib (with or
without cairo)?

Thanks for answering any of this questions,

    xavi

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to