Struct IconThemeError
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
Contains all error codes of the IconThemeError error-domain.
public readonly ref struct IconThemeError
- Inherited Members
Constructors
IconThemeError(int)
Creates a new error in the IconThemeError domain with a given error code.
public IconThemeError(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 "IconThemeError" error-domain.
public static Quark Any { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (1).
public static IconThemeError Failed { get; }
Property Value
NotFound
Can be used to match a GException with the "NotFound" code (0).
public static IconThemeError NotFound { get; }
Property Value
Operators
implicit operator ErrorCode(IconThemeError)
Converts a IconThemeError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(IconThemeError e)