Method
GtkSourceFileSaversave_async
Declaration [src]
void
gtk_source_file_saver_save_async (
  GtkSourceFileSaver* saver,
  gint io_priority,
  GCancellable* cancellable,
  GFileProgressCallback progress_callback,
  gpointer progress_callback_data,
  GDestroyNotify progress_callback_notify,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Saves asynchronously the buffer into the file.
See the GAsyncResult documentation to know how to use this function.
This method completes asynchronously. Use gtk_source_file_saver_save_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- io_priority
- 
            Type: gintThe I/O priority of the request. E.g. G_PRIORITY_LOW,G_PRIORITY_DEFAULTorG_PRIORITY_HIGH.
- cancellable
- 
            Type: GCancellableOptional GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. 
- progress_callback
- 
            Type: GFileProgressCallbackfunction to call back with progress information, or NULLif progress information is not needed.The argument can be NULL.
- progress_callback_data
- 
            Type: gpointerUser data to pass to progress_callback.The argument can be NULL.The data is owned by the caller of the method. 
- progress_callback_notify
- 
            Type: GDestroyNotifyFunction to call on progress_callback_datawhen theprogress_callbackis no longer needed, orNULL.The argument can be NULL.
- callback
- 
            Type: GAsyncReadyCallbackA GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL.
- user_data
- 
            Type: gpointerUser data to pass to callback.The argument can be NULL.The data is owned by the caller of the method.