I'm using gtkembed to embed Mozilla in a GTK+ app, and I need to embed
it at arbitrary places in the parent/child widget hierarchy. That is,
at run-time we determine which container will contain Mozilla, and it
will pretty much never be an immediate child of the frame/top-level
window.
[Excuse me mixing terminology here, but we're using the wxWindows class
library, so I've never had to become intimately familiar with GTK+
itself.]
Anyway - I can get it all to compile and link OK, and the embedded
Mozilla works in tests when I make it a child of the frame, but in
more realistic tests (for the app), it hangs. The debug output stops
at:
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
WEBSHELL+ = 1
So, my questions are:
1. Can Mozilla be embedded as a child of any container, or must that
container be the top-level window?
2. If Mozilla can be embedded as a child of any container, does anyone
have any clue why the embedding is hanging, or where I should be looking
to get further clues myself?
3. Are there any other restrictions I should be aware of?
Cheers,
Bernie