Issues with embedding cef browser window.

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Issues with embedding cef browser window.

Postby king » Wed Nov 14, 2018 3:52 am

Hi everybody

I am newbie to cef and I am now trying to embed cef browser window to the window which belongs to another process(host process) on linux. I have now got issues with that.
the host process now creates a gtksocket and passes the socket window X window ID to the browser process. And I am able to construct a gtkplug with that XID and I suppose what I am gonna do is simply adding the browser window handle to the gtkplug since it says here https://bitbucket.org/chromiumembedded/ ... neralUsage that the type of the window handle a GtkWidget* on Linux. After several crashes, I found that the window handle type is actually a XID!?? any one know how can I get GtkWidget* type window handle??? Anyone have any idea or experience embedding cef browser window to the window of another process??
king
Techie
 
Posts: 18
Joined: Wed Nov 14, 2018 3:41 am

Re: Issues with embedding cef browser window.

Postby magreenblatt » Wed Nov 14, 2018 10:46 am

Sorry about the confusion. The documentation is out of date and the CefWindowHandle type is now an X11 Window/XID. There is no underlying GTK representation for that window (CEF no longer uses GTK internally).
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 65 guests