Table of Contents

Struct DialogError

Namespace
Gtk
Assembly
Gtk-4.0.dll

Contains all error codes of the DialogError error-domain.

public readonly ref struct DialogError
Inherited Members

Constructors

DialogError(int)

Creates a new error in the DialogError domain with a given error code.

public DialogError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "DialogError" error-domain.

public static Quark Any { get; }

Property Value

Quark

Cancelled

Can be used to match a GException with the "Cancelled" code (1).

public static DialogError Cancelled { get; }

Property Value

DialogError

Dismissed

Can be used to match a GException with the "Dismissed" code (2).

public static DialogError Dismissed { get; }

Property Value

DialogError

Failed

Can be used to match a GException with the "Failed" code (0).

public static DialogError Failed { get; }

Property Value

DialogError

Operators

implicit operator ErrorCode(DialogError)

Converts a DialogError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(DialogError e)

Parameters

e DialogError

Returns

ErrorCode