nsIEmbeddingSiteWindow::GetSiteWindow() is currently unimplemented for the gtk embedding widget. As far as I can see, and this is hardly definitive, it appears essentially impossible to return a pointer to the actual hosting window of the gtk widget. I guess this is why it hasn't been done. The powerplant and mfc embedding projects are mini-browsers that embed mozilla directly, so the site window can be returned. In the case of the gtk widget, the equivelent site window is the gtk widget itself, rather than the gtk window embedding the gtk widget. While this is not exactly what we are looking for, it is useful. For our prompt service implementation in galeon, it is sufficient for getsitewindow to return the gtkmozembed widget. We can use that to parent our prompt dialogs, and this is adequate, and a lot better than nothing. Patch to do this is attached.
dup *** This bug has been marked as a duplicate of 80638 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.