gtkmm 3.16.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
Gdk::PixbufError Class Reference

Exception class for Gdk::Pixbuf errors. More...

`#include <gdkmm/pixbuf.h>`

Inheritance diagram for Gdk::PixbufError:
[legend]

## Public Types

enum | Code { CORRUPT_IMAGE, INSUFFICIENT_MEMORY, BAD_OPTION, UNKNOWN_TYPE,
UNSUPPORTED_OPERATION,
FAILED
}
| An error code in the Gdk::PIXBUF_ERROR domain. More...

## Public Member Functions

| PixbufError (Code error_code, const Glib::ustring& error_message)
| PixbufError (GError* gobject)
Code | code () const
Public Member Functions inherited from Glib::Error
| Error ()
| Error (GQuark domain, int code, const Glib::ustring &message)
| Error (GError *gobject, bool take_copy=false)
| Error (const Error &other)
Error & | operator= (const Error &other)
virtual | ~Error ()
GQuark | domain () const
int | code () const
virtual Glib::ustring | what () const
bool | matches (GQuark domain, int code) const
GError * | gobj ()
const GError * | gobj () const
Public Member Functions inherited from Glib::Exception
virtual | ~Exception ()=0

## Additional Inherited Members

Protected Attributes inherited from Glib::Error
GError * | gobject_

## Detailed Description

Exception class for Gdk::Pixbuf errors.

## Member Enumeration Documentation

enum Gdk::PixbufError::Code

An error code in the Gdk::PIXBUF_ERROR domain.

Many gdk-pixbuf operations can cause errors in this domain, or in the FILE_ERROR domain.

Enumerator
CORRUPT_IMAGE | An image file was broken somehow.
INSUFFICIENT_MEMORY | Not enough memory.
BAD_OPTION | A bad option was passed to a pixbuf save module.
UNKNOWN_TYPE | Unknown image type.
UNSUPPORTED_OPERATION | Don't know how to perform the given operation on the type of image at hand.
FAILED | Generic failure code, something went wrong.

## Constructor & Destructor Documentation

Gdk::PixbufError::PixbufError | ( | Code | error_code,
|  | const Glib::ustring & | error_message
| ) |  |

Gdk::PixbufError::PixbufError | ( | GError * | gobject | ) |

explicit

## Member Function Documentation

Code Gdk::PixbufError::code | ( |  | ) | const