Gdk::PixbufFormat Class Reference
List of all members.
Constructor & Destructor Documentation
Gdk::PixbufFormat::PixbufFormat |
( |
|
) |
|
Gdk::PixbufFormat::PixbufFormat |
( |
const GdkPixbufFormat * |
gobject |
) |
[explicit] |
virtual Gdk::PixbufFormat::~PixbufFormat |
( |
|
) |
[virtual] |
Member Function Documentation
Return value: a description of the format.
- Returns:
- A description of the format.
- Since gtkmm 2.2:
Return value: a 0
-terminated array of filename extensions which must be.
- Returns:
- A
0
-terminated array of filename extensions which must be freed with Glib::strfreev() when it is no longer needed.
- Since gtkmm 2.2:
Returns: a string describing the license of format.
- Returns:
- A string describing the license of format.
- Since gtkmm 2.6:
Return value: a 0
-terminated array of mime types which must be freed with.
- Returns:
- A
0
-terminated array of mime types which must be freed with Glib::strfreev() when it is no longer needed.
- Since gtkmm 2.2:
Return value: the name of the format.
- Returns:
- The name of the format.
- Since gtkmm 2.2:
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.
- Returns:
- Whether this image format is disabled.
- Since gtkmm 2.6:
bool Gdk::PixbufFormat::is_scalable |
( |
|
) |
const |
Return value: whether this image format is scalable.
- Returns:
- Whether this image format is scalable.
- Since gtkmm 2.6:
bool Gdk::PixbufFormat::is_writable |
( |
|
) |
const |
Return value: whether pixbufs can be saved in the given format.
- Returns:
- Whether pixbufs can be saved in the given format.
- Since gtkmm 2.2:
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().
- Since gtkmm 2.6:
- Parameters:
-
| disabled | true to disable the format format. |
Member Data Documentation
The documentation for this class was generated from the following file: