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

Method OnLeft

src/cefpython3.wx/chromectrl.py:293–297  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

291 self.chromeWindow.GetBrowser().SetClientHandler(handler)
292
293 def OnLeft(self, event):
294 if self.chromeWindow.GetBrowser().CanGoBack():
295 self.chromeWindow.GetBrowser().GoBack()
296 self.UpdateButtonsState()
297 self.chromeWindow.GetBrowser().SetFocus(True)
298
299 def OnRight(self, event):
300 if self.chromeWindow.GetBrowser().CanGoForward():

Callers

nothing calls this directly

Calls 2

UpdateButtonsStateMethod · 0.95
GetBrowserMethod · 0.80

Tested by

no test coverage detected