Method
IdeWorkbenchopen_async
Declaration
void
ide_workbench_open_async (
IdeWorkbench* self,
GFile* file,
const gchar* hint,
IdeBufferOpenFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Requests that the workbench open file.
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.
flags may be ignored by some backends.
| Available since: | 3.32 |
Parameters
file |
GFile |
A |
|
| The data is owned by the caller of the function. | |
hint |
const gchar* |
An optional hint about what addin to use. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
flags |
IdeBufferOpenFlags |
Optional flags when opening the file. |
|
cancellable |
GCancellable |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL. | |
user_data |
gpointer |
Closure data for |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |