Method

IdeWorkbenchopen_finish

Declaration

gboolean
ide_workbench_open_finish (
  IdeWorkbench* self,
  GAsyncResult* result,
  GError** error
)

Description

Completes a request to open a file using either ide_workbench_open_async() or ide_workbench_open_at_async().

Available since:3.32

Parameters

result GAsyncResult
 

A GAsyncResult provided to callback.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the file was successfully opened; otherwise FALSE and error is set.