Prompt
Iface
constructor
parent_
iface
name
prompt_
close
prompt_
confirm_
async
prompt_
confirm_
finish
prompt_
password_
async
prompt_
password_
finish
GJS API Reference
Gcr-3
Gcr
PromptIface
Class PromptIface
The interface for implementing [class
Prompt]
.
record
Hierarchy
PromptIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
prompt_
close
prompt_
confirm_
async
prompt_
confirm_
finish
prompt_
password_
async
prompt_
password_
finish
Constructors
constructor
new
Prompt
Iface
(
)
:
PromptIface
Returns
PromptIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
parent interface
field
Static
name
name
:
string
Methods
prompt_
close
prompt_
close
(
prompt
:
Gcr
.
Prompt
)
:
void
Parameters
prompt:
Gcr
.
Prompt
Returns
void
prompt_
confirm_
async
prompt_
confirm_
async
(
prompt
:
Gcr
.
Prompt
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
prompt:
Gcr
.
Prompt
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
prompt_
confirm_
finish
prompt_
confirm_
finish
(
prompt
:
Gcr
.
Prompt
, result
:
AsyncResult
)
:
PromptReply
Parameters
prompt:
Gcr
.
Prompt
result:
AsyncResult
Returns
PromptReply
prompt_
password_
async
prompt_
password_
async
(
prompt
:
Gcr
.
Prompt
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
prompt:
Gcr
.
Prompt
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
prompt_
password_
finish
prompt_
password_
finish
(
prompt
:
Gcr
.
Prompt
, result
:
AsyncResult
)
:
string
Parameters
prompt:
Gcr
.
Prompt
result:
AsyncResult
Returns
string
Prompt
Iface
constructor
parent_
iface
name
prompt_
close
prompt_
confirm_
async
prompt_
confirm_
finish
prompt_
password_
async
prompt_
password_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cn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