MCPcopy Create free account
hub / github.com/cztomczak/cefpython / main

Function main

examples/snippets/keyboard_handler.py:4–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def main():
5 cef.Initialize()
6 browser = cef.CreateBrowserSync(url="https://www.google.com/",
7 window_title="Keyboard Handler")
8 browser.SetClientHandler(KeyboardHandler())
9 cef.MessageLoop()
10 del browser
11 cef.Shutdown()
12
13
14class KeyboardHandler(object):

Callers 1

Calls 2

SetClientHandlerMethod · 0.80
KeyboardHandlerClass · 0.70

Tested by

no test coverage detected