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 [
[email protected] ] 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 [[email protected] ] to close the prompt when you're done with it.
Content:
Properties:
public string bus_name { owned get ; construct ; }
The DBus bus name of the prompter to use for prompting, or
null for the default prompter.
public SecretExchange secret_exchange { owned get ; set ; }
public int timeout_seconds { construct ; }
The timeout in seconds to wait when opening the prompt.
Static methods:
public static Quark error_get_domain ()
public static SystemPrompt open (int timeout_seconds, Cancellable ? cancellable = null ) throws Error
Opens a system prompt with the default prompter.
public static async SystemPrompt open_async (int timeout_seconds, Cancellable ? cancellable) throws Error
Asynchronously open a system prompt with the default system prompter.
public static SystemPrompt open_for_prompter (string ? prompter_name, int timeout_seconds, Cancellable ? cancellable = null ) throws Error
Opens a system prompt.
public static async void open_for_prompter_async (string ? prompter_name, int timeout_seconds, Cancellable ? cancellable)
Opens a system prompt asynchronously.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gcr.Prompt
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.Initable