MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / _on_value_change

Method _on_value_change

gui/widgets.py:289–292  ·  view source on GitHub ↗

Handle value change.

(self)

Source from the content-addressed store, hash-verified

287 self._input_widget.grid(row=0, column=1, sticky="w", pady=5)
288
289 def _on_value_change(self) -> None:
290 """Handle value change."""
291 if self._on_change:
292 self._on_change(self._key, self.get_value())
293
294 def get_value(self) -> Any:
295 """Get the current value with proper type conversion."""

Callers 1

_create_inputMethod · 0.95

Calls 1

get_valueMethod · 0.95

Tested by

no test coverage detected