Skip to content

Easy to use CefBrowser widgets for many popular GUI toolkits #312

Open
@cztomczak

Description

@cztomczak

Currently PyQt / PySide / wxPython examples are quite big. It got a lot better since v31, but it's still not good. We should provide easy to use CefBrowser widgets for these toolkits, so that you can embed CefBrowser in just a few lines of code. If possible make it just one line - Initialize could be called during creation of CefBrowser automatically and Shutdown could be called with os.atexit.

There was a cefpython3.wx package available in v31, that provided such functionality, but it was disabled in v50+ series, as it needs changes to make it work with latest CEF. Issue #301 is to fix that.

CefBrowser widgets should be created for:

  1. wxPython
  2. wxPhoenix
  3. PyQt4
  4. PyQt5
  5. PySide
  6. PySide2

Packages should be named: cefpython3.wxpython, cefpython3.wxphoenix, cefpython3.pyqt4, etc.

For Kivy there is already CefBrowser widget in garden.cefpython maintained by Rentouch:
https://github.com/allestuetsmerweh/garden.cefpython

There are no plans to provide easy to use CefBrowser widgets for these toolkits:

  1. Tkinter - see this comment
  2. PyGObject (GTK 3) - see this comment
  3. PyGTK (GTK 2) - this toolkit is not developed anymore since many years

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions