You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
On Mac the window is not activated (shows behind terminal) - see this topic for a temporary 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.
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[/+]on Sep 20, 2016
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[/+]on Sep 20, 2016
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[/+]on Sep 20, 2016
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[/+]on Aug 19, 2019
Activity
[-]Use CEF views in Hello World, Tutorial and Offscreen examples[/-][+]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[/-][+]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[/-][+]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[/-][+]Support for Views framework on Windows and Linux[/+][-]Support for Views framework on Windows and Linux[/-][+]Support for Views framework[/+]