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_files argument.
The data is owned by the caller of the method.
n_files

Type: guint

Number of GFiles contained in files.

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: GCancellable

A GCancellable.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to execute upon completion.

The argument can be NULL.
user_data

Type: gpointer

Closure data for callback.

The argument can be NULL.
The data is owned by the caller of the method.