Example #1
0
	def browse(self):
		fn = bFileDialog.asksaveasfilename(master=self,
				initialfile=self.file_entry.get(),
				filetypes=[("Postscript file","*.ps"),
					("Encapsulated postscript file","*.eps"),
					("All","*")])
		if len(fn) > 0:
			self.file_entry.delete(0, END)
			self.file_entry.insert(0, fn)
Example #2
0
	def browse(self):
		fn = bFileDialog.asksaveasfilename(master=self,
				initialfile=self.file_entry.get(),
				filetypes=[("Postscript file","*.ps"),
					("Encapsulated postscript file","*.eps"),
					("All","*")])
		if len(fn) > 0:
			self.file_entry.delete(0, END)
			self.file_entry.insert(0, fn)