getFileInfoAsync

fun getFileInfoAsync(filename: String, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Asynchronously parses an image file far enough to determine its format and size.

For more details see gdk_pixbuf_get_file_info(), which is the synchronous version of this function.

When the operation is finished, @callback will be called in the main thread. You can then call gdk_pixbuf_get_file_info_finish() to get the result of the operation.

Since

2.32

Parameters

filename

The name of the file to identify

cancellable

optional GCancellable object, NULL to ignore

callback

a GAsyncReadyCallback to call when the file info is available