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
errorCodeintA 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
Cancelled
Can be used to match a GException with the "Cancelled" code (1).
public static DialogError Cancelled { get; }
Property Value
Dismissed
Can be used to match a GException with the "Dismissed" code (2).
public static DialogError Dismissed { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (0).
public static DialogError Failed { get; }
Property Value
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)