> -----Original Message-----
> From: Maher Awamy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 7:32 PM

[...]

> so you are saying that from a menu item creating a gtkmozembed doesn't
work?
> after calling gtk_main(); it should work - I think what art meant here is
that
> you can't call functions after gtk_main(); as in code
> 
> ala
> 
> do stuff
> gtk_main();
> create embed here - ofcourse it'll fail.

Ah, yeah - I can see the source of confusion now.
To be clear, creating a gtkmozembed when handling a menu item selection
does not work, it hangs with the symptoms I described previously.

> However, You should be able to initlize embed from a menu 
> item or a button or any callback hooked to your gui once
> the gtk_main() loop is in effect.
> 
> Try gtk_moz_embed_push_startup(); before calling a gtk_moz_ebmed_new();
> see if that helps.

A reasonable sounding suggestion - but I've already tried that, and it
doesn't help.

I'm about to try out the 0.9 milestone, and see if anything (magically)
changes.

Cheers,

    Bernie

P.S. I was naughty and hadn't read the debugging FAQ when I commented
on GDB.  I've just spent the afternoon fetching and building the latest
GDB, and that appears to help with the apparent hangs during debugging.
However, the main problem I'm talking about here also occurs outside the
debugger.

Reply via email to