Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeoDJ/P2Pro-Viewer
/ __init__
Method
__init__
P2Pro/gui.py:44–47 ·
view source on GitHub ↗
(self, **kwargs)
Source
from the content-addressed store, hash-verified
42
43
class
Scale(Widget):
44
def
__init__(self, **kwargs):
45
super(Scale, self).__init__(**kwargs)
46
self.bind(size=self.draw_scale)
47
self.bind(pos=self.draw_scale)
48
49
def
draw_scale(self, *args):
50
self.canvas.clear()
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected