Thank you Doug !!!!!!!!!!!!!! It's working!!!!
Doug Turner wrote:
Stephen Clement wrote:
felix wrote:
Hi,
Is it possible to visualize(render) xul file (hello.xul) with the testGtkEmbed example ?
If it's possible, I don't obtain it. Help me please
Thank you.
No, its not.
Stephen Clement
Not directly. You can modify the TestGtkEmbed code to do this. IIRC, you can set the chrome flags to be nsIWebBrowserChrome::CHROME_OPENAS_CHROME.
Try changing this line:
http://lxr.mozilla.org/mozilla/source/embedding/browser/gtk/tests/TestGtkEmbed.cpp#638
to pass this value: GTK_MOZ_EMBED_FLAG_OPENASCHROME
Not sure if this will work. I remember that I did this to the windows test embed sample, so it is possible. CC'ing Chris Blizzard.
BTW, you must ensure that you take security precautions when shipping an application that allows loading of remote chrome. Those precautions depend on your application and the thread model.
Regards, Doug
_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
