Registers a textdomain for localisation.
This procedure adds a textdomain to the list of domains Gimp searches for strings when translating its menu entries. There is no need to call this function for plug-ins that have their strings included in the 'gimp-std-plugins' domain as that is used by default. If the compiled message catalog is not in the standard location, you may specify an absolute path to another location. This procedure can only be called in the query function of a plug-in and it has to be called before any procedure is installed.
The name of the textdomain (must be unique).
The absolute path to the compiled message catalog (may be NULL).
Register a help path for a plug-in.
This procedure registers user documentation for the calling plug-in with the GIMP help system. The domain_uri parameter points to the root directory where the plug-in help is installed. For each supported language there should be a file called 'gimp-help.xml' that maps the help IDs to the actual help files.
The XML namespace of the plug-in's help pages.
The root URI of the plug-in's help pages.
gboolean gimp_plugin_icon_register (
const gchar *procedure_name,
const guint8 *icon_data);
Register an additional menu path for a plug-in procedure.
This procedure installs an additional menu entry for the given procedure.
The procedure for which to install the menu path.
The procedure's additional menu path.
Register a sub-menu.
This procedure installs a sub-menu which does not belong to any procedure. The menu-name should be the untranslated menu label. GIMP will look up the translation in the textdomain registered for the plug-in.
Sets an error handler for procedure calls.
This procedure changes the way that errors in procedure calls are
handled. By default GIMP will raise an error dialog if a procedure
call made by a plug-in fails. Using this procedure the plug-in can
change this behavior. If the error handler is set to
GIMP_PDB_ERROR_HANDLER_PLUGIN, then the plug-in is responsible for
gimp_get_pdb_error() and handling the error whenever one if
its procedure calls fails. It can do this by displaying the error
message or by forwarding it in its own return values.
Retrieves the active error handler for procedure calls.
This procedure retrieves the currently active error handler for
procedure calls made by the calling plug-in. See
gimp_plugin_set_pdb_error_handler() for details.
Switches this plug-in to using the real bit depth of drawables.
Switches this plug-in to using the real bit depth of drawables. This
setting can only be enabled, and not disabled again during the
lifetime of the plug-in. Using
automatically call this function.
Whether this plug-in is using the real bit depth of drawables.
Returns whether this plug-in is using the real bit depth of drawables, which can be more than 8 bits per channel.