| GIMP Module Library Reference Manual |
|---|
struct GimpModule; struct GimpModuleInfo; enum GimpModuleState; const GimpModuleInfo* (*GimpModuleQueryFunc) (GTypeModule *module); gboolean (*GimpModuleRegisterFunc) (GTypeModule *module); GimpModule* gimp_module_new (const gchar *filename, gboolean load_inhibit, gboolean verbose); void gimp_module_modified (GimpModule *module); gboolean gimp_module_query_module (GimpModule *module); void gimp_module_set_load_inhibit (GimpModule *module, gboolean load_inhibit); const gchar* gimp_module_state_name (GimpModuleState state); GimpModuleInfo* gimp_module_info_new (const gchar *purpose, const gchar *author, const gchar *version, const gchar *copyright, const gchar *date); GimpModuleInfo* gimp_module_info_copy (const GimpModuleInfo *info); void gimp_module_info_free (GimpModuleInfo *info);
struct GimpModuleInfo {
gchar *purpose;
gchar *author;
gchar *version;
gchar *copyright;
gchar *date;
};typedef enum
{
GIMP_MODULE_STATE_ERROR, /* missing gimp_module_register function
* or other error
*/
GIMP_MODULE_STATE_LOADED, /* an instance of a type implemented by
* this module is allocated
*/
GIMP_MODULE_STATE_LOAD_FAILED, /* gimp_module_register returned FALSE
*/
GIMP_MODULE_STATE_NOT_LOADED /* there are no instances allocated of
* types implemented by this module
*/
} GimpModuleState;const GimpModuleInfo* (*GimpModuleQueryFunc) (GTypeModule *module);
| module : | |
| Returns : |
|
GimpModule* gimp_module_new (const gchar *filename, gboolean load_inhibit, gboolean verbose);
| filename : | |
| load_inhibit : | |
| verbose : | |
| Returns : |
void gimp_module_set_load_inhibit (GimpModule *module, gboolean load_inhibit);
| module : | |
| load_inhibit : |
const gchar* gimp_module_state_name (GimpModuleState state);
| state : | |
| Returns : |
|
GimpModuleInfo* gimp_module_info_new (const gchar *purpose, const gchar *author, const gchar *version, const gchar *copyright, const gchar *date);
| purpose : | |
| author : | |
| version : | |
| copyright : | |
| date : | |
| Returns : |
|
GimpModuleInfo* gimp_module_info_copy (const GimpModuleInfo *info);
| info : | |
| Returns : |
|
void user_function (GimpModule *gimpmodule, gpointer user_data);
| gimpmodule : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |
| <<< GIMP Module Library | GimpModuleDB >>> |