MCPcopy Index your code
hub / github.com/python/cpython / set_selection

Method set_selection

Lib/tkinter/filedialog.py:228–230  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

226 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
227
228 def set_selection(self, file):
229 self.selection.delete(0, END)
230 self.selection.insert(END, os.path.join(self.directory, file))
231
232
233class LoadFileDialog(FileDialog):

Callers 3

goMethod · 0.95
files_select_eventMethod · 0.95
filter_commandMethod · 0.95

Calls 3

deleteMethod · 0.45
insertMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected