Lines Matching refs:open
28 self.__id_open = self.text.bind("<<open-window-from-file>>", self.open)
39 self.text.unbind("<<open-window-from-file>>", self.__id_open)
77 def open(self, event=None, editFile=None):
86 # If editFile is valid and already open, flist.open will
90 # pass self.loadfile to flist.open so it will load the file
91 # in the current window (if the file is not already open)
97 flist.open(filename, self.loadfile)
99 flist.open(filename)
126 with tokenize.open(filename) as f:
141 with open(filename, encoding=enc) as f:
243 with open(filename, "wb") as f:
362 dir, base = self.defaultfilename("open")
369 def defaultfilename(self, mode="open"):
407 self.text.bind("<Control-o>", self.open)
415 def open(self, event):
416 self.text.event_generate("<<open-window-from-file>>")