Gimp::Feature - check for specific features to be present before registering the script.
use Gimp::Feature;
or
use Gimp::Feature qw(feature1 feature2 ...);
This module can be used to check for specific features to be present. This can be used to deny running the script when neccessary features are not present. While some features can be checked for at any time, the Gimp::Fu module offers a nicer way to check for them.
gtk
gtk-1.1
, gtk-1.2
perl-5.005
pdl
gnome
gtkxmhtl
unix
persistency
Gimp::Data
module (the Gimp::Data manpage) can handle complex
persistent data structures, i.e. perl references in addition to plain
strings.
The following features can only be checked after Gimp-
main> has been
called (usually found in the form exit main
). See the Gimp::Fu manpage on how to
check for these.
gimp-1.1
, gimp-1.2
present(feature)
need(feature,[function-name])
This is the function used when importing symbols from the module.
missing(feature-description,[function-name])
Indicates that a generic feature (described by the first argument) is missing. A function name can further be specified. This function will log the given message and exit gracefully.
describe(feature)
list()
Marc Lehmann <pcg@goof.com>
perl(1), Gimp(1).