Table of Contents

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

constructArguments ConstructArgument[]

Prompt(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Prompt(CreationData data)

Parameters

data CreationData

Prompt(PromptHandle)

protected Prompt(PromptHandle handle)

Parameters

handle PromptHandle

Methods

DupObject()

[Version("2.32")]
public DBusObject? DupObject()

Returns

DBusObject

GetGType()

public static Type GetGType()

Returns

Type

GetObject()

[Version("2.30")]
public DBusObject? GetObject()

Returns

DBusObject

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

Exceptions

GException

Throws a GException in case of an error.

InitFinish(AsyncResult)

[Version("2.22")]
public bool InitFinish(AsyncResult res)

Parameters

res AsyncResult

Returns

bool

Exceptions

GException

Throws a GException in case of an error.

NewFromPointer(nint, bool)

Creates a new managed Prompt instance for a given pointer.

public static Prompt NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Prompt

NewWithProperties(ConstructArgument[])

Creates a new Prompt and sets the properties specified by the construct arguments.

public static Prompt NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Prompt

PerformFinish(AsyncResult)

public Variant PerformFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Variant

Exceptions

GException

Throws a GException in case of an error.

PerformSync(string?, Cancellable?, VariantType)

public Variant PerformSync(string? windowId, Cancellable? cancellable, VariantType returnType)

Parameters

windowId string
cancellable Cancellable
returnType VariantType

Returns

Variant

Exceptions

GException

Throws a GException in case of an error.

Run(string?, Cancellable?, VariantType)

public Variant Run(string? windowId, Cancellable? cancellable, VariantType returnType)

Parameters

windowId string
cancellable Cancellable
returnType VariantType

Returns

Variant

Exceptions

GException

Throws a GException in case of an error.

SetObject(DBusObject?)

[Version("2.30")]
public void SetObject(DBusObject? @object)

Parameters

object DBusObject