Asynchronously opens a file in the preferred directory for temporary files (as returned by glib.global.getTmpDir) as gio.file.File.newTmp.
tmpl should be a string in the GLib file name encoding containing a sequence of six 'X' characters, and containing no directory components. If it is null, a default template is used.
Template for the file name, as in glib.global.fileOpenTmp, or null for a default template
the [I/O priority][io-priority] of the request
optional #GCancellable object, null to ignore
a #GAsyncReadyCallback to call when the request is done
Asynchronously opens a file in the preferred directory for temporary files (as returned by glib.global.getTmpDir) as gio.file.File.newTmp.
tmpl should be a string in the GLib file name encoding containing a sequence of six 'X' characters, and containing no directory components. If it is null, a default template is used.