asksaveasfile
SimpleKivy.SimpleKivy.MyApp.asksaveasfile(self, initialfile='', filetypes=(('All files', '*.*'),), callback=None, **kw)
Creates a native platform file dialog to save a file as the input name and location.
initialfile: The file selected upon opening of the dialog
filetypes: Defined as a tuple containing inner tuples. Each inner tuple defines a file type:(("Text Files", "*.txt"), ("Image files", "*.png *.jpg *.jpeg"))
callback (None or function): Called with the returned value as argument. Only triggered when it is not cancelled.
**kw: File dialog keyword arguments. See tkinter documentation for more information
This post is licensed under CC BY 4.0 by the author.