Gcr.ImportInteraction.prototype.supplement

function supplement(builder: Gck.Builder, cancellable: Gio.Cancellable): Gio.TlsInteractionResult {
    // Gjs wrapper for 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.ImportInteraction.prototype.supplement_prep.

This method prompts the user and fills in the attributes. If the user or cancellable cancels the operation the error should be set with %G_IO_ERROR_CANCELLED.

builder

supplemented attributes

cancellable

optional cancellable object

Returns

%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED