Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Views framework #252

Open
cztomczak opened this issue Sep 20, 2016 · 0 comments
Open

Support for Views framework #252

cztomczak opened this issue Sep 20, 2016 · 0 comments

Comments

@cztomczak
Copy link
Owner

cztomczak commented Sep 20, 2016

CEF views is a GUI framework built into CEF. It can act as a replacement for GUI libraries like PyQt, wxPython, PyGTK, that we could use in Hello World and Tutorial examples for simplicity. It has elements like: display, window, layout, button, panel, scroll view, textfield, among others. See the include/views/ directory for a complete list. Upstream issue #1749 added the views feature.

NOTE: CEF views do not support creating browser synchronously, but CEF Python currently only supports creating browser synchronously - there are a few cases that depend on it. See Marshall's response in this CEF topic: http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=15006

UPDATE: Currently as of v64 CEF Views are still not supported on Mac. Only Windows and Linux platforms are supported.

Views framework todo

  • In "src/client_handler/x11.cpp" in CefBrowser_GetGtkWindow return NULL when using the Views framework

hello_world.py / tutorial.py

Currently the Hello World / Tutorial examples have a few issues, that CEF views should fix:

offscreen.py

In CefWindow there are even functions for sending mouse/key events, so looks like this could allow creating a simple OSR example. However I don't see a way to draw using paint buffer.

Unit tests (#59)

Figure out if CEF views be of use in unit tests.

@cztomczak cztomczak changed the title Use CEF views in Hello World, Tutorial and Offscreen examples Use CEF views in Hello World, Tutorial and Offscreen examples and in Unit Tests Sep 20, 2016
@cztomczak cztomczak changed the title Use CEF views in Hello World, Tutorial and Offscreen examples and in Unit Tests Use CEF views in Hello World, Tutorial and Offscreen examples and in Unit tests Sep 20, 2016
@cztomczak cztomczak changed the title Use CEF views in Hello World, Tutorial and Offscreen examples and in Unit tests Use CEF views in Hello World, Tutorial and Offscreen examples, and in Unit tests Sep 20, 2016
@cztomczak cztomczak changed the title Use CEF views in Hello World, Tutorial and Offscreen examples, and in Unit tests Support for Views framework on Windows and Linux Aug 19, 2019
@cztomczak cztomczak changed the title Support for Views framework on Windows and Linux Support for Views framework Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant