I am building a simple Kivy app with 2 screens. The first screen has a simple button which, when clicked, goes to the second screen and should open a particular website (e.g. google.com) in embedded browser. I am aware that Kivy does not natively support an embedded browser so I used cefpython. By the way, I am using Python 3 and Kivy 1.11.1 for the app.
https://github.com/cztomczak/cefpython
The simple hello-world example uses cefpython3 and seems to run fine.
https://github.com/cztomczak/cefpython/blob/master/docs/Tutorial.md#hello-world
The problem is that this code opens a new app window over the Kivy app and pauses its execution until the browser window is closed. What I would like to achieve is open the url within the Kivy app screen.
So, I came across this example of embedding cefpython within Kivy:
https://github.com/cztomczak/cefpython/blob/master/src/linux/binaries_64bit/kivy_.py
But it seems this example requires pygtk2 which is not supported by Python 3. Hence, I could not get it to work. Besides, the code looks a bit of an overkill for a simple activity like trying to open a URL.
Can someone please guide me with a working example of how to embed cefpython or any other embedded browser inside Kivy?