#include <WebBrowserCef/WebEngine.hpp>
Public Member Functions | |
| void | contextInitialized () |
| void | deinitialize () |
| void | runInUiThread (std::function< void()> f) |
| Schedules a function to be executed on the browser UI thread. More... | |
| void | setUseMainThread (bool useMainThread) |
Static Public Member Functions | |
| static QStringList | defaultFlags () |
| static void | setDefaultFlags (const QStringList &args) |
| void WebBrowserCef::WebEngine::runInUiThread | ( | std::function< void()> | f | ) |
Schedules a function to be executed on the browser UI thread.
Starts the engine and UI thread if it's not yet running. Function will be executed only after CEF context has been fully initialized.