Closed Bug 80637 Opened 24 years ago Closed 24 years ago

Implementing nsIEmbeddingSiteWindow::GetSiteWindow() for gtk embedding widget

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 80638

People

(Reporter: mozillabugs.philipl, Assigned: blizzard)

Details

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
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.