Function
GdkPixbufPixbufget_file_info_async
since: 2.32
Declaration [src]
void
gdk_pixbuf_get_file_info_async (
  const gchar* filename,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
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.
Available since: 2.32
Parameters
- filename
- 
            Type: const gchar*The name of the file to identify. The data is owned by the caller of the function. The value is a file system path, using the OS encoding. 
- cancellable
- 
            Type: GCancellableOptional GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the function. 
- callback
- 
            Type: GAsyncReadyCallbackA GAsyncReadyCallbackto call when the file info is available.
- user_data
- 
            Type: gpointerThe data to pass to the callback function. The argument can be NULL.The data is owned by the caller of the function.