MCPcopy
hub / github.com/tonquer/JMComic-qt / SetState

Method SetState

src/component/button/switch_button.py:31–33  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

29 self.Switch.emit(self.state)
30
31 def SetState(self, state):
32 self.state = state
33 self.update()
34
35 def paintEvent(self, event):
36 """绘制按钮"""

Callers 1

mousePressEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected