SystemPrompt


Object Hierarchy:

Gcr.SystemPrompt Gcr.SystemPrompt Gcr.SystemPrompt GLib.Object GLib.Object GLib.Object->Gcr.SystemPrompt Gcr.Prompt Gcr.Prompt Gcr.Prompt->Gcr.SystemPrompt GLib.AsyncInitable GLib.AsyncInitable GLib.AsyncInitable->Gcr.SystemPrompt GLib.Initable GLib.Initable GLib.Initable->Gcr.SystemPrompt

Description:

[ CCode ( type_id = "gcr_system_prompt_get_type ()" ) ]
public class SystemPrompt : Object, Prompt, AsyncInitable, Initable

A [iface@Prompt] implementation which calls to the system prompter to display prompts in a system modal fashion.

Since the system prompter usually only displays one prompt at a time, you may have to wait for the prompt to be displayed. Use [ func@SystemPrompt.open] or a related function to open a prompt. Since this can take a long time, you should always check that the prompt is still needed after it is opened. A previous prompt may have already provided the information needed and you may no longer need to prompt.

Use [method@SystemPrompt.close] to close the prompt when you're done with it.


Namespace: Gcr
Package: gcr-4

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.Initable