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

Method collapse

gui/widgets.py:123–126  ·  view source on GitHub ↗

Collapse the frame.

(self)

Source from the content-addressed store, hash-verified

121 self._toggle()
122
123 def collapse(self) -> None:
124 """Collapse the frame."""
125 if self._expanded:
126 self._toggle()
127
128 def is_expanded(self) -> bool:
129 """Check if frame is expanded."""

Callers 1

collapse_allMethod · 0.80

Calls 1

_toggleMethod · 0.95

Tested by

no test coverage detected