Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kivy-garden/garden.cefpython

CEFPython Kivy widget
https://github.com/kivy-garden/garden.cefpython

Last synced: about 1 month ago
JSON representation

CEFPython Kivy widget

Awesome Lists containing this project

README

        

# CEF widget

This is a widget that embed https://code.google.com/p/cefpython into a Kivy widget.
Works currently on Linux and Windows 64bit with python 2.7.

This project shouldn't considered stable. There are major things (ex. popups) which aren't implemented or causing proplems.
Tested on Ubuntu 12.04 with the follwoing debian packages installed: libnss3-1d libnspr4-0d

There's another project which wraps cefpython into kivy but isn't installable in the garden way, which may be further developed: https://github.com/rentouch/cefkivy

# Example

from kivy.garden.cefpython import CefBrowser, cefpython
from kivy.app import App

class CefBrowserApp(App):
def build(self):
return CefBrowser(start_url='http://kivy.org')

CefBrowserApp().run()

cefpython.Shutdown()

# Hints

Don't use browser.Navigate() to chang the url. Use the function change_url(url) instead.
Read in '__init__.py' at function change_url() why.