MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / refresh

Method refresh

deeplabcut/gui/components.py:142–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140 self.itemSelectionChanged.connect(self.update_selected_bodyparts)
141
142 def refresh(self):
143 self.clear()
144 self.addItems(self.root.all_bodyparts)
145 self.update_selected_bodyparts()
146
147 def update_selected_bodyparts(self):
148 self.selected_bodyparts = [item.text() for item in self.selectedItems()]

Callers 1

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected