fileNewTmpDirAsync

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

Asynchronously creates a directory in the preferred directory for temporary files (as returned by g_get_tmp_dir()) as g_dir_make_tmp().

Since

2.74

Parameters

tmpl

Template for the file name, as in g_dir_make_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