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

Function set_global_handler

examples/tutorial.py:109–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108
109def set_global_handler():
110 # A global handler is a special handler for callbacks that
111 # must be set before Browser is created using
112 # SetGlobalClientCallback() method.
113 global_handler = GlobalHandler()
114 cef.SetGlobalClientCallback("OnAfterCreated",
115 global_handler.OnAfterCreated)
116
117
118def set_client_handlers(browser):

Callers 1

mainFunction · 0.85

Calls 1

GlobalHandlerClass · 0.70

Tested by

no test coverage detected