PixbufFormat

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.

Constructors

this
this(string name, string domain, string description, uint flags, bool disabled, string license)

Create a pixbuf_format.PixbufFormat boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
gdkpixbuf.pixbuf_format.PixbufFormat copy()

Creates a copy of format.

getDescription
string getDescription()

Returns a description of the format.

getExtensions
string[] getExtensions()

Returns the filename extensions typically used for files in the given format.

getLicense
string getLicense()

Returns information about the license of the image loader for the format.

getMimeTypes
string[] getMimeTypes()

Returns the mime types supported by the format.

getName
string getName()

Returns the name of the format.

isDisabled
bool isDisabled()

Returns whether this image format is disabled.

isSaveOptionSupported
bool isSaveOptionSupported(string optionKey)

Returns TRUE if the save option specified by option_key is supported when saving a pixbuf using the module implementing format.

isScalable
bool isScalable()

Returns whether this image format is scalable.

isWritable
bool isWritable()

Returns whether pixbufs can be saved in the given format.

self
PixbufFormat self()

Returns this, for use in with statements.

setDisabled
void setDisabled(bool disabled)

Disables or enables an image format.

Properties

description
string description [@property getter]

Get field description.

description
string description [@property setter]

Set field description.

disabled
bool disabled [@property getter]

Get field disabled.

disabled
bool disabled [@property setter]

Set field disabled.

domain
string domain [@property getter]

Get field domain.

domain
string domain [@property setter]

Set field domain.

flags
uint flags [@property getter]

Get field flags.

flags
uint flags [@property setter]

Set field flags.

gType
GType gType [@property getter]
license
string license [@property getter]

Get field license.

license
string license [@property setter]

Set field license.

name
string name [@property getter]

Get field name.

name
string name [@property setter]

Set field name.

signature
gdkpixbuf.pixbuf_module_pattern.PixbufModulePattern signature [@property getter]

Get field signature.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.