Hi, I embedded Gecko in a GTK application. It opens pages containing javascript code. For example, they have some timers and make changes after load the page.
I wan't to close the gtk window when the page ends executing all. I thought that I could close the window with "window.close()" javascript function and get the event implementing niWebProgressListener interface or other interface, but the "window.close()" javascript function doesn't close the window because it's the main broser window. How can I inform to gecko that a page has finished executing all and is ready to be closed? _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding