Gcr.ImportInteraction
Description: Reference for Gcr.ImportInteraction

### Interface

# GcrImportInteraction

#### Description [src]

    interface Gcr.ImportInteraction : Gio.TlsInteraction

This is an interface implemented by a caller performing an import. It allows the importer to ask the caller for further information about the import.

It must be implemented on a derived class of `GTlsInteraction`

#### Prerequisite

In order to implement ImportInteraction, your type must inherit from `GTlsInteraction`.

#### Instance methods

###### gcr_import_interaction_supplement

Supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### gcr_import_interaction_supplement_async

Asynchronously supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### gcr_import_interaction_supplement_finish

Complete operation to asynchronously supplement attributes before import.

###### gcr_import_interaction_supplement_prep

Prepare for supplementing the given attributes before import. This means prompting the user for things like labels and the like. The attributes will contain attributes for values that the importer needs, either empty or prefilled with suggested values.

#### Interface structure

    struct GcrImportInteractionIface {
      GTypeInterface parent;
      void (* supplement_prep) (
        GcrImportInteraction* interaction,
        GckBuilder* builder
      );
      GTlsInteractionResult (* supplement) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GError** error
      );
      void (* supplement_async) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      );
      GTlsInteractionResult (* supplement_finish) (
        GcrImportInteraction* interaction,
        GAsyncResult* result,
        GError** error
      );

    }

###### Interface members

`parent` |
    GTypeInterface
| Parent interface.
`supplement_prep` |
    void (* supplement_prep) (
        GcrImportInteraction* interaction,
        GckBuilder* builder
      )
| No description available.
`supplement` |
    GTlsInteractionResult (* supplement) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GError** error
      )
| No description available.
`supplement_async` |
    void (* supplement_async) (
        GcrImportInteraction* interaction,
        GckBuilder* builder,
        GCancellable* cancellable,
        GAsyncReadyCallback callback,
        gpointer user_data
      )
| No description available.
`supplement_finish` |
    GTlsInteractionResult (* supplement_finish) (
        GcrImportInteraction* interaction,
        GAsyncResult* result,
        GError** error
      )
| No description available.

#### Virtual methods

###### Gcr.ImportInteraction.supplement

Supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### Gcr.ImportInteraction.supplement_async

Asynchronously supplement attributes before import. This means prompting the user for things like labels and the like. The needed attributes will have been passed to gcr_import_interaction_supplement_prep().

###### Gcr.ImportInteraction.supplement_finish

Complete operation to asynchronously supplement attributes before import.

###### Gcr.ImportInteraction.supplement_prep

Prepare for supplementing the given attributes before import. This means prompting the user for things like labels and the like. The attributes will contain attributes for values that the importer needs, either empty or prefilled with suggested values.