Table of Contents

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

errorCode int

A 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

FileChooserError

Any

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

public static Quark Any { get; }

Property Value

Quark

BadFilename

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

public static FileChooserError BadFilename { get; }

Property Value

FileChooserError

IncompleteHostname

Can be used to match a GException with the "IncompleteHostname" code (3).

public static FileChooserError IncompleteHostname { get; }

Property Value

FileChooserError

Nonexistent

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

public static FileChooserError Nonexistent { get; }

Property Value

FileChooserError

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)

Parameters

e FileChooserError

Returns

ErrorCode