MCPcopy Create free account
hub / github.com/dialect-app/dialect / progress

Method progress

dialect/widgets/speech_button.py:25–31  ·  view source on GitHub ↗
(self, fraction: float)

Source from the content-addressed store, hash-verified

23 self.progress_bar.props.visible = False
24
25 def progress(self, fraction: float):
26 if self.stack.props.visible_child_name != "progress":
27 self.stack.props.visible_child_name = "progress"
28 self.props.tooltip_text = _("Cancel Audio")
29 self.progress_bar.props.visible = True
30
31 self.progress_bar.props.fraction = fraction
32
33 def error(self, message: str):
34 self.stack.props.visible_child_name = "error"

Callers 1

_gst_progress_timeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected