List of all members.
Constructor & Destructor Documentation
Gdk::PixbufFormat::PixbufFormat |
( |
GdkPixbufFormat * |
gobject, |
|
|
bool |
make_a_copy = true |
|
) |
| [explicit] |
Gdk::PixbufFormat::PixbufFormat |
( |
const PixbufFormat& |
other | ) |
|
Gdk::PixbufFormat::~PixbufFormat |
( |
| ) |
|
Gdk::PixbufFormat::PixbufFormat |
( |
| ) |
|
Member Function Documentation
Returns a description of the format.
- Since gtkmm 2.2:
- Returns:
- A description of the format.
Returns the filename extensions typically used for files in the given format.
- Since gtkmm 2.2:
- Returns:
- A
0
-terminated array of filename extensions which must be freed with Glib::strfreev() when it is no longer needed.
Returns information about the license of the image loader for the format.
The returned string should be a shorthand for a wellknown license, e.g. "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This string should be freed with Glib::free() when it's no longer needed.
- Since gtkmm 2.6:
- Returns:
- A string describing the license of format.
Returns the mime types supported by the format.
- Since gtkmm 2.2:
- Returns:
- A
0
-terminated array of mime types which must be freed with Glib::strfreev() when it is no longer needed.
Returns the name of the format.
- Since gtkmm 2.2:
- Returns:
- The name of the format.
GdkPixbufFormat* Gdk::PixbufFormat::gobj |
( |
| ) |
[inline] |
Provides access to the underlying C instance.
const GdkPixbufFormat* Gdk::PixbufFormat::gobj |
( |
| ) |
const [inline] |
Provides access to the underlying C instance.
GdkPixbufFormat* Gdk::PixbufFormat::gobj_copy |
( |
| ) |
const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
bool Gdk::PixbufFormat::is_disabled |
( |
| ) |
const |
bool Gdk::PixbufFormat::is_scalable |
( |
| ) |
const |
Returns whether this image format is scalable.
If a file is in a scalable format, it is preferable to load it at the desired size, rather than loading it at the default size and scaling the resulting pixbuf to the desired size.
- Since gtkmm 2.6:
- Returns:
- Whether this image format is scalable.
bool Gdk::PixbufFormat::is_writable |
( |
| ) |
const |
Returns whether pixbufs can be saved in the given format.
- Since gtkmm 2.2:
- Returns:
- Whether pixbufs can be saved in the given format.
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 get_license().
- Since gtkmm 2.6:
- Parameters:
-
disabled | true to disable the format format. |
Friends And Related Function Documentation
- Parameters:
-
lhs | The left-hand side |
rhs | The right-hand side |
Gdk::PixbufFormat wrap |
( |
GdkPixbufFormat * |
object, |
|
|
bool |
take_copy = false |
|
) |
| [related] |
A Glib::wrap() method for this object.
- Parameters:
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns:
- A C++ instance that wraps this C instance.
Member Data Documentation
The documentation for this class was generated from the following file: