Struct PixbufError
- Namespace
- GdkPixbuf
- Assembly
- GdkPixbuf-2.0.dll
Contains all error codes of the PixbufError error-domain.
public readonly ref struct PixbufError
- Inherited Members
Constructors
PixbufError(int)
Creates a new error in the PixbufError domain with a given error code.
public PixbufError(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 "PixbufError" error-domain.
public static Quark Any { get; }
Property Value
BadOption
Can be used to match a GException with the "BadOption" code (2).
public static PixbufError BadOption { get; }
Property Value
CorruptImage
Can be used to match a GException with the "CorruptImage" code (0).
public static PixbufError CorruptImage { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (5).
public static PixbufError Failed { get; }
Property Value
IncompleteAnimation
Can be used to match a GException with the "IncompleteAnimation" code (6).
public static PixbufError IncompleteAnimation { get; }
Property Value
InsufficientMemory
Can be used to match a GException with the "InsufficientMemory" code (1).
public static PixbufError InsufficientMemory { get; }
Property Value
UnknownType
Can be used to match a GException with the "UnknownType" code (3).
public static PixbufError UnknownType { get; }
Property Value
UnsupportedOperation
Can be used to match a GException with the "UnsupportedOperation" code (4).
public static PixbufError UnsupportedOperation { get; }
Property Value
Operators
implicit operator ErrorCode(PixbufError)
Converts a PixbufError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(PixbufError e)