fileNewTmpAsync

fun fileNewTmpAsync(tmpl: String? = null, ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously opens a file in the preferred directory for temporary files (as returned by g_get_tmp_dir()) as g_file_new_tmp().

Since

2.74

Parameters

tmpl

Template for the file name, as in g_file_open_tmp(), or null for a default template

ioPriority

the iface.AsyncResult.html#io-priority of the request

cancellable

optional #GCancellable object, null to ignore

callback

a #GAsyncReadyCallback to call when the request is done