| Padre documentation | view source | Contained in the Padre distribution. |
WIN32, MAC, UNIXWXWIN32, WXMAC, WXGTKBOOLEAN, POSINT, INTEGER, ASCII, PATHHOST, HUMAN, PROJECTPADRE_REVISIONPADRE_BLACK, PADRE_BLUE, PADRE_RED, PADRE_GREEN, PADRE_MAGENTA, PADRE_ORANGE,
PADRE_DIM_GRAY, PADRE_CRIMSON, PADRE_BROWNCONFIG_HOSTCONFIG_HUMANCONFIG_DIRPLUGIN_DIRPLUGIN_LIBLOG_FILENEWLINEPadre::Constant - constants used by configuration subsystems
use Padre::Constant ();
[...]
# do stuff with exported constants
Padre uses various configuration subsystems (see Padre::Config for more
information). Those systems needs to somehow agree on some basic stuff, which
is defined in this module.
WIN32, MAC, UNIXOperating Systems.
WXWIN32, WXMAC, WXGTKPadre targets the three largest Wx back-ends and maps to the OS constants.
These are superficially identical to the current operation system constants, but are reserved to specifically differentiate between the operating system in general and the Wx backend implementation, in case the distinction becomes important at some point in the future.
WXWIN32 => WIN32,
WXMAC => MAC,
WXGTK => UNIX,
BOOLEAN, POSINT, INTEGER, ASCII, PATHSettings data types (based on Firefox types).
HOST, HUMAN, PROJECTSettings storage back-ends.
PADRE_REVISIONThe SVN Revision (when running a development build).
PADRE_BLACK, PADRE_BLUE, PADRE_RED, PADRE_GREEN, PADRE_MAGENTA, PADRE_ORANGE,
PADRE_DIM_GRAY, PADRE_CRIMSON, PADRE_BROWNCore supported colours.
CONFIG_HOSTDB configuration file storing host settings.
CONFIG_HUMANYAML configuration file storing user settings.
CONFIG_DIRPrivate Padre configuration directory Padre, used to store stuff.
PLUGIN_DIRPrivate directory where Padre can look for plug-ins.
PLUGIN_LIBSubdirectory of PLUGIN_DIR with the path Padre/Plugin added
(or whatever depending on your platform) so that Perl can
load a Padre::Plugin:: plug-in.
LOG_FILEPath and name of Padre's log file.
NEWLINENewline style (UNIX, WIN or MAC) on the currently used operating system.
Copyright 2008 - 2010 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
| Padre documentation | view source | Contained in the Padre distribution. |