Re: How to get the primaryshell/widget from nsIDocument* with Gecko SDK 2.0

Boris Zbarsky <[email protected]> Mon, 14 Feb 2011 09:38:40 -0500
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 2/14/11 9:23 AM, mads wrote:
> Thanks Boris for the immediate response. Could you tell me any way to
> get the valid widget of that document in this scenario?

If it doesn't have a presshell, it also doesn't have a widget.  It's 
just not being shown at all.

-Boris