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

Method _double_click

gui/utils.py:282–286  ·  view source on GitHub ↗

Handle double click.

(self, index: int)

Source from the content-addressed store, hash-verified

280 self._on_select(index)
281
282 def _double_click(self, index: int) -> None:
283 """Handle double click."""
284 self._select(index)
285 if self._on_double_click:
286 self._on_double_click(index)
287
288 def bind_select(self, callback: Callable[[int], None]) -> None:
289 """Bind selection callback."""

Callers 1

add_itemMethod · 0.95

Calls 1

_selectMethod · 0.95

Tested by

no test coverage detected