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

Class LifespanHandler

examples/tkinter_.py:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264
265class LifespanHandler(object):
266
267 def __init__(self, tkFrame):
268 self.tkFrame = tkFrame
269
270 def OnBeforeClose(self, browser, **_):
271 logger.debug("LifespanHandler.OnBeforeClose")
272 self.tkFrame.quit()
273
274
275class LoadHandler(object):

Callers 1

embed_browserMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected