开发者

embedded browser using XULRunner

开发者 https://www.devze.com 2022-12-22 12:11 出处:网络
Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps)

Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps)

I have tried QT, wxWidgets, Awesomium, chrome embedded, LLmozLib, midori and Embedding/NewApi/Win32

The best one is wxWebConnect (which is part of wxWidgets framework). Why, cause you don't need the whole mozilla code base to build it plus the actual browser control is perfect as in plugins work, everything is rendered correctly (gmail, youtube etc etc)

So what's my problem or question? Well the wxWebConnect uses XULRunner to embed the browser control, my application is native win32 app and not wxWidgets app. I've searched the net to find another example of how use XULRunner to embed the gecko browser in native win32 apps..开发者_运维知识库without luck!

Anyone know of projects/code that just use XULRunner and not require the entire mozilla source tree?

Thanks.


There's a list of XULRunner-based applications at

https://developer.mozilla.org/en/XULRunner_Hall_of_Fame


Whether you use wxWebConnect or embed XULRunner directly you are still going to have as part of your applications deployment the XULRunner engine and it's folder hierarchy. That's the nature of the beast.


Try GeckoFX, if you are okay with using .NET. Looking at the GeckoFX code might also give you enough insights to embed xulrunner in your native C++ Win32 app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号