Service.prompt

Perform prompting for a #SecretPrompt.

This function is called by other parts of this library to handle prompts for the various actions that can require prompting.

Override the #SecretServiceClass <literal>prompt_async</literal> virtual method to change the behavior of the prompting. The default behavior is to simply run secret_prompt_perform() on the prompt.

class Service
void
prompt
(,
VariantType returnType
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

prompt Prompt

the prompt

returnType VariantType

the variant type of the prompt result

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to be passed to the callback

Meta