On Sunday 19 February 2006 03:20, Ben Dean-Kawamura wrote: > Hi all, I'm having a problem with gtkmozembed under python and I was > wondering if anyone could help me. It seems that if threading support > is turned on, when the browser pops up a dialog box it hangs the > program (or at least GTK). This seems to be a common problem with > dialog boxes and pygtk (there's a FAQ question about it: > http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.014.htp). > > Is there a way for me to tell gtkmozembed not to show dialog boxes? > Or to intercept the calls and create the dialog boxes myself? yes, you can implement your own nsIPromptService. An example how to do that can be found for example in sourcecode of gtkmozembed. I guess you will need for that either pyxpcom bindings of some c++ code.
best regards, Michal _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
