Hi,
I'm learning Chromium Embedded Framework (CEF), and tried to build some simple examples written by myself for practice. I followed this tutorial chromiumembedded / cef / wiki / GeneralUsage — Bitbucket, but it doesn't actually work. It really is not as simple as the tutorial describes. The main problem is the integration between CEF and wxGTK (I haven't tried wxMSW yet). There are some articles on the Internet teaching the topic, but they are either on Windows or using GTK+ 2. I haven't tried GTK+ 2 myself, but did try GTK+ 3 and it still didn't work. I think it is doable with GTK+ 3 (and its wxGTK front end), because I did have successfully built and run the example in the directory test/cefsimple/ that comes with the pre-built binary downloaded from CEF Automated Builds. The cefsimple uses X11 directly, so there must be a way for GTK+ 3 to integrate with CEF. Does any one know how? Any hints or links would be highly appreciated.
Has anyone successfully built an CEF application with wxGTK?
Re: Has anyone successfully built an CEF application with wxGTK?
Do you know about wxWebViewChromium? For some reason, it has been long unmerged but perhaps it can serve as an inspiration:
https://github.com/wxWidgets/wxWidgets/pull/706
However, IIRC wxWebViewChromium structure (implementation of CEF classes) is kinda different from the CEF examples.
https://github.com/wxWidgets/wxWidgets/pull/706
However, IIRC wxWebViewChromium structure (implementation of CEF classes) is kinda different from the CEF examples.
Re: Has anyone successfully built an CEF application with wxGTK?
Thanks for the reply, and yes I did check the source codes of wxWebViewChromium before asking the question. As far as I know, it is removed from version 3.1.2 of wxWidgets. I actually doubt if it is completed. For example, while creating a CefBrowser object it does not setup the CefWindowInfo object at all on all platforms except Windows. How will CEF know where to put the newly-created browser window if the code doesn't specify a container window? Weird. Maybe the wxWebViewChromium project is not completed yet.
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: Has anyone successfully built an CEF application with wxGTK?
Did you try to build webviewsample_chromium to get the feel and see how to use it?
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?