MCPcopy Create free account
hub / github.com/pyqtgraph/pyqtgraph / currentFile

Method currentFile

pyqtgraph/examples/ExampleApp.py:518–522  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

516 root.addChild(item)
517
518 def currentFile(self):
519 item = self.ui.exampleTree.currentItem()
520 if hasattr(item, 'file'):
521 return os.path.join(path, item.file)
522 return None
523
524 def loadFile(self, *, edited=False):
525 # make *edited* keyword-only so it is not confused for extra arguments

Callers 2

loadFileMethod · 0.95
showFileMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected