Method
IdeWorkbenchopen_all_async
Declaration
void
ide_workbench_open_all_async (
IdeWorkbench* self,
GFile** files,
guint n_files,
const gchar* hint,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Requests that the workbench open all of the GFile denoted by files.
If hint is provided, that will be used to determine what workbench
addin to use when opening the file. The hint name should match the
module name of the plugin.
Call ide_workbench_open_finish() from callback to complete this operation.
Parameters
files-
Type: An array of
GFile*An array of
GFile.The length of the array is specified in the n_filesargument.The data is owned by the caller of the method. n_files-
Type:
guintNumber of
GFilescontained infiles. hint-
Type:
const gchar*An optional hint about what addin to use.
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto execute upon completion.The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the method.