MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / select

Method select

gui/additionsPane.py:96–97  ·  view source on GitHub ↗
(self, name, focus=True)

Source from the content-addressed store, hash-verified

94 PANES = ["Drones", "Fighters", "Cargo", "Implants", "Boosters", "Projected", "Command", "Notes"]
95
96 def select(self, name, focus=True):
97 self.notebook.SetSelection(self.PANES.index(name), focus=focus)
98
99 def getName(self, idx):
100 return self.PANES[idx]

Callers 14

importFromClipboardMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
addItemMethod · 0.80
addItemMethod · 0.80
addItemMethod · 0.80
addItemMethod · 0.80
handleListDragMethod · 0.80
addItemMethod · 0.80

Calls 1

SetSelectionMethod · 0.80

Tested by

no test coverage detected