Public Member Functions | |
PixbufFormat () | |
PixbufFormat (const GdkPixbufFormat* gobject) | |
virtual | ~PixbufFormat () |
PixbufFormat (const PixbufFormat& src) | |
PixbufFormat& | operator= (const PixbufFormat& src) |
Glib::ustring | get_name () const |
Return value: the name of the format. | |
Glib::ustring | get_description () const |
Return value: a description of the format. | |
Glib::StringArrayHandle | get_mime_types () const |
Glib::StringArrayHandle | get_extensions () const |
Return value: a 0 -terminated array of filename extensions which must be. | |
bool | is_writable () const |
Return value: whether pixbufs can be saved in the given format. | |
bool | is_scalable () const |
bool | is_disabled () const |
Return value: whether this image format is disabled. | |
void | set_disabled (bool disabled=true) |
Disables or enables an image format. | |
Glib::ustring | get_license () const |
Returns: a string describing the license of format. | |
GdkPixbufFormat* | gobj () |
Provides access to the underlying C GObject. | |
const GdkPixbufFormat* | gobj () const |
Provides access to the underlying C GObject. | |
Protected Attributes | |
const GdkPixbufFormat* | gobject_ |
Gdk::PixbufFormat::PixbufFormat | ( | ) |
Gdk::PixbufFormat::PixbufFormat | ( | const GdkPixbufFormat * | gobject | ) | [explicit] |
virtual Gdk::PixbufFormat::~PixbufFormat | ( | ) | [virtual] |
Gdk::PixbufFormat::PixbufFormat | ( | const PixbufFormat& | src | ) |
Glib::ustring Gdk::PixbufFormat::get_description | ( | ) | const |
Glib::StringArrayHandle Gdk::PixbufFormat::get_extensions | ( | ) | const |
Return value: a 0
-terminated array of filename extensions which must be.
0
-terminated array of filename extensions which must be freed with Glib::strfreev() when it is no longer needed.Glib::ustring Gdk::PixbufFormat::get_license | ( | ) | const |
Returns: a string describing the license of format.
Glib::StringArrayHandle Gdk::PixbufFormat::get_mime_types | ( | ) | const |
Glib::ustring Gdk::PixbufFormat::get_name | ( | ) | const |
const GdkPixbufFormat* Gdk::PixbufFormat::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
GdkPixbufFormat* Gdk::PixbufFormat::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
bool Gdk::PixbufFormat::is_disabled | ( | ) | const |
Return value: whether this image format is disabled.
bool Gdk::PixbufFormat::is_scalable | ( | ) | const |
bool Gdk::PixbufFormat::is_writable | ( | ) | const |
Return value: whether pixbufs can be saved in the given format.
PixbufFormat& Gdk::PixbufFormat::operator= | ( | const PixbufFormat& | src | ) |
void Gdk::PixbufFormat::set_disabled | ( | bool | disabled = true |
) |
Disables or enables an image format.
If a format is disabled, gdk-pixbuf won't use the image loader for this format to load images. Applications can use this to avoid using image loaders with an inappropriate license, see format_get_license().
disabled | true to disable the format format. |
const GdkPixbufFormat* Gdk::PixbufFormat::gobject_ [protected] |