MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / monitor_loading

Method monitor_loading

src/puppets/live2d.py:43–45  ·  view source on GitHub ↗
(wb, event)

Source from the content-addressed store, hash-verified

41 webview.load_uri(urljoin(self.address, f"?{q}"))
42 webview.set_hexpand(True)
43 webview.set_vexpand(True)
44 def monitor_loading(wb, event):
45 if event == WebKit.LoadEvent.FINISHED:
46 self.loaded = True
47 webview.connect("load-changed", monitor_loading)
48 self.webview = webview

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected