Function
Gdk.content_deserialize_async
Declaration [src]
void
gdk_content_deserialize_async (
  GInputStream* stream,
  const char* mime_type,
  GType type,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Read content from the given input stream and deserialize it, asynchronously.
The default I/O priority is G_PRIORITY_DEFAULT (i.e. 0), and lower numbers
indicate a higher priority.
When the operation is finished, callback will be called. You must then
call gdk_content_deserialize_finish() to get the result of the operation.
Parameters
| stream | GInputStream* | 
| a  | |
| Ownership is not transferred to the callee | |
| mime_type | const char* | 
| the mime type to deserialize from | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
| type | GType | 
| the GType to deserialize from | |
| io_priority | int | 
| the I/O priority of the operation | |
| cancellable | GCancellable* | 
| optional  | |
| Can be NULL | |
| Ownership is not transferred to the callee | |
| callback | GAsyncReadyCallback | 
| callback to call when the operation is done | |
| user_data | gpointer | 
| data to pass to the callback function |