GdkPixbufModule

A GdkPixbufModule contains the necessary functions to load and save images in a certain file format. A GdkPixbufModule can be loaded dynamically from a GModule. Each loadable module must contain a GdkPixbufModuleFillVtableFunc function named fill_vtable, which will get called when the module is loaded and must set the function pointers of the GdkPixbufModule. char *module_name; the name of the module, usually the same as the usual file extension for images of this type, eg. "xpm", "jpeg" or "png". char *module_path; the path from which the module is loaded. GModule *module; the loaded GModule. GdkPixbufFormat *info; a GdkPixbufFormat holding information about the module. load () loads an image from a file. load_xpm_data () loads an image from data in memory. begin_load () begins an incremental load. stop_load () stops an incremental load. load_increment () continues an incremental load. load_animation () loads an animation from a file. save () saves a GdkPixbuf to a file. save_to_callback () saves a GdkPixbuf by calling the given GdkPixbufSaveFunc.

Members

Variables

beginLoad
void* function(GdkPixbufModuleSizeFunc sizeFunc, GdkPixbufModulePreparedFunc prepareFunc, GdkPixbufModuleUpdatedFunc updateFunc, void* userData, GError** error) beginLoad;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
info
GdkPixbufFormat* info;
Undocumented in source.
load
GdkPixbuf* function(FILE* f, GError** error) load;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
loadAnimation
GdkPixbufAnimation* function(FILE* f, GError** error) loadAnimation;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
loadIncrement
int function(void* context, char* buf, uint size, GError** error) loadIncrement;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
loadXpmData
GdkPixbuf* function(char** data) loadXpmData;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
modul
GModule* modul;
Undocumented in source.
moduleName
char* moduleName;
Undocumented in source.
modulePath
char* modulePath;
Undocumented in source.
save
int function(FILE* f, GdkPixbuf* pixbuf, char** paramKeys, char** paramValues, GError** error) save;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
saveToCallback
int function(GdkPixbufSaveFunc saveFunc, void* userData, GdkPixbuf* pixbuf, char** optionKeys, char** optionValues, GError** error) saveToCallback;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
stopLoad
int function(void* context, GError** error) stopLoad;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta