Prompt


Object Hierarchy:

Gcr.Prompt Gcr.Prompt Gcr.Prompt GLib.Object GLib.Object GLib.Object->Gcr.Prompt

Description:

[ CCode ( type_cname = "GcrPromptInterface" , type_id = "gcr_prompt_get_type ()" ) ]
public interface Prompt : Object

A prompt displayed to the user.

It is an interface with various implementations.

Various properties are set on the prompt, and then the prompt is displayed the various prompt methods like [method@Prompt.password_run].

A `GcrPrompt` may be used to display multiple related prompts. Most implementions do not hide the window between display of multiple related prompts, and the Prompt must be closed or destroyed in order to make it go away. This allows the user to see that the prompts are related.

Use `GcrPromptDialog` (part of gcr-ui) to create an in-process GTK+ dialog prompt. Use [class@SystemPrompt] to create a system prompt in a prompter process.

The prompt implementation will always display the [property@Prompt:message] property, but may choose not to display the [ property@Prompt:description] or [property@Prompt:title] properties.

All known implementing classes:

Namespace: Gcr
Package: gcr-4

Content:

Properties:

Methods:

Signals:

Inherited Members: