Struct FileChooserError
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
Contains all error codes of the FileChooserError error-domain.
public readonly ref struct FileChooserError
- Inherited Members
Constructors
FileChooserError(int)
Creates a new error in the FileChooserError domain with a given error code.
public FileChooserError(int errorCode)
Parameters
errorCodeintA specific error code of the domain
Properties
AlreadyExists
Can be used to match a GException with the "AlreadyExists" code (2).
public static FileChooserError AlreadyExists { get; }
Property Value
Any
Can be used to match a GException with any error code of the "FileChooserError" error-domain.
public static Quark Any { get; }
Property Value
BadFilename
Can be used to match a GException with the "BadFilename" code (1).
public static FileChooserError BadFilename { get; }
Property Value
IncompleteHostname
Can be used to match a GException with the "IncompleteHostname" code (3).
public static FileChooserError IncompleteHostname { get; }
Property Value
Nonexistent
Can be used to match a GException with the "Nonexistent" code (0).
public static FileChooserError Nonexistent { get; }
Property Value
Operators
implicit operator ErrorCode(FileChooserError)
Converts a FileChooserError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(FileChooserError e)