File.createFinish

Finishes an asynchronous file create operation started with g_file_create_async().

class File
createFinish

Parameters

res AsyncResultIF

a GAsyncResult.

Return Value

a GFileOutputStream or NULL on error. Free the returned object with g_object_unref(). [transfer full]

Throws

GException on failure.

Meta