gdkpixbuf.pixbuf_format
Module for [PixbufFormat] class
class PixbufFormat
Types 1
classPixbufFormat : gobject.boxed.Boxed
A gdkpixbuf.pixbuf_format.PixbufFormat contains information about the image format accepted by a module.
Only modules should access the fields directly, applications should use the gdk_pixbuf_format_* family of functions.
Methods
void name(string propval) @property nothrowSet `name` field. Params: propval = the name of the image formatgdkpixbuf.pixbuf_module_pattern.PixbufModulePattern signature() @property nothrowGet `signature` field. Returns: the signature of the modulestring domain() @property nothrowGet `domain` field. Returns: the message domain for the `description`void domain(string propval) @property nothrowSet `domain` field. Params: propval = the message domain for the `description`string description() @property nothrowGet `description` field. Returns: a description of the image formatvoid description(string propval) @property nothrowSet `description` field. Params: propval = a description of the image formatuint flags() @property nothrowGet `flags` field. Returns: a combination of [gdkpixbuf.types.PixbufFormatFlags]void flags(uint propval) @property nothrowSet `flags` field. Params: propval = a combination of [gdkpixbuf.types.PixbufFormatFlags]bool disabled() @property nothrowGet `disabled` field. Returns: a boolean determining whether the loader is disabled`void disabled(bool propval) @property nothrowSet `disabled` field. Params: propval = a boolean determining whether the loader is disabled`string license() @property nothrowGet `license` field. Returns: a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.void license(string propval) @property nothrowSet `license` field. Params: propval = a string containing license information, typically set to shorthands like "GPL", "LGPL", etc.gdkpixbuf.pixbuf_format.PixbufFormat copy() nothrowCreates a copy of `format`. Returns: the newly allocated copy of a [gdkpixbuf.pixbuf_format.PixbufFormat]. Use [gdkpixbuf.pixbuf_format.PixbufFormat.free] to free the resources when donestring getDescription() nothrowReturns a description of the format. Returns: a description of the format.string[] getExtensions() nothrowReturns the filename extensions typically used for files in the given format. Returns: an array of filename extensionsstring getLicense() nothrowReturns information about the license of the image loader for the format.string[] getMimeTypes() nothrowReturns the mime types supported by the format. Returns: an array of mime typesbool isSaveOptionSupported(string optionKey) nothrowReturns `TRUE` if the save option specified by option_key is supported when saving a pixbuf using the module implementing format.bool isWritable() nothrowReturns whether pixbufs can be saved in the given format. Returns: whether pixbufs can be saved in the given format.Constructors
this(string name = string.init, string domain = string.init, string description = string.init, uint flags = uint.init, bool disabled = bool.init, string license = string.init)Create a `pixbuf_format.PixbufFormat` boxed type. Params: name = the name of the image format domain = the message domain for the `description` description = a description of the image format flags...