# CEF support

To use Chrome Embedded Framework on Windows.

import webview

# To pass custom settings to CEF, import and update settings dict
# See the complete set of options for CEF, here: https://github.com/cztomczak/cefpython/blob/master/api/ApplicationSettings.md
from webview.platforms.cef import settings, browser_settings
settings.update({
    'persist_session_cookies': True
})

browser_settings.update({
    'dom_paste_disabled': False
})

if __name__ == '__main__':
    webview.create_window('CEF Example', 'https://pywebview.flowrl.com/hello')
    webview.start(gui='cef')