Class Prompt
- Namespace
- Secret
- Assembly
- Secret-1.dll
public class Prompt : DBusProxy, AsyncInitable, DBusInterface, Initable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
Prompt
- Implements
- Inherited Members
Constructors
Prompt(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public Prompt(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Prompt(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Prompt(CreationData data)
Parameters
dataCreationData
Prompt(PromptHandle)
protected Prompt(PromptHandle handle)
Parameters
handlePromptHandle
Methods
DupObject()
[Version("2.32")]
public DBusObject? DupObject()
Returns
GetGType()
public static Type GetGType()
Returns
GetObject()
[Version("2.30")]
public DBusObject? GetObject()
Returns
Init(Cancellable?)
[Version("2.22")]
public bool Init(Cancellable? cancellable)
Parameters
cancellableCancellable
Returns
InitFinish(AsyncResult)
[Version("2.22")]
public bool InitFinish(AsyncResult res)
Parameters
resAsyncResult
Returns
NewFromPointer(nint, bool)
Creates a new managed Prompt instance for a given pointer.
public static Prompt NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Prompt and sets the properties specified by the construct arguments.
public static Prompt NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
PerformFinish(AsyncResult)
public Variant PerformFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
PerformSync(string?, Cancellable?, VariantType)
public Variant PerformSync(string? windowId, Cancellable? cancellable, VariantType returnType)
Parameters
windowIdstringcancellableCancellablereturnTypeVariantType
Returns
Run(string?, Cancellable?, VariantType)
public Variant Run(string? windowId, Cancellable? cancellable, VariantType returnType)
Parameters
windowIdstringcancellableCancellablereturnTypeVariantType
Returns
SetObject(DBusObject?)
[Version("2.30")]
public void SetObject(DBusObject? @object)
Parameters
objectDBusObject