Ide.BuildTargetProvider
Description: Reference for Ide.BuildTargetProvider

### Interface

# IdeBuildTargetProvider

#### Description

    interface Ide.BuildTargetProvider : GObject.Object

No description available.

#### Prerequisite

In order to implement BuildTargetProvider, your type must inherit from `GObject`.

#### Instance methods

###### ide_build_target_provider_get_targets_async

Asynchronously requests that the provider fetch all of the known build targets that are part of the project. Generally this should be limited to executables that Builder might be interested in potentially running.

Available since: 3.32

###### ide_build_target_provider_get_targets_finish

Completes a request to get the targets for the project.

Available since: 3.32

#### Interface structure

    struct IdeBuildTargetProviderInterface {
      GTypeInterface parent_iface;
      void (* get_targets_async) (
        IdeBuildTargetProvider* self,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      GPtrArray* (* get_targets_finish) (
        IdeBuildTargetProvider* self,
        GAsyncResult* result,
        GError** error
      );

    }

###### Interface members

`parent_iface` |
    GTypeInterface
| No description available.
`get_targets_async` |
    void (* get_targets_async) (
        IdeBuildTargetProvider* self,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`get_targets_finish` |
    GPtrArray* (* get_targets_finish) (
        IdeBuildTargetProvider* self,
        GAsyncResult* result,
        GError** error
      )
| No description available.

#### Virtual methods

###### Ide.BuildTargetProvider.get_targets_async

Asynchronously requests that the provider fetch all of the known build targets that are part of the project. Generally this should be limited to executables that Builder might be interested in potentially running.

###### Ide.BuildTargetProvider.get_targets_finish

Completes a request to get the targets for the project.