NAME
Tk:CodeText::Theme - Theme object for highlight colors in Tk::CodeText.
SYNOPSIS
require
Tk::CodeText::Theme;
my
$theme
= new Tk::CodeText::Theme;
$theme
->load(
$file
);
$theme
->save(
$file
);
METHODS
- clear
-
Clears all tag definitions.
- getItem($tag, $option)
-
Returns the value of $option assigned to $tag.
- get
-
Returns a list of tag/options pairs.
- load($file)
-
Loads a CodeText theme definition file.
- optionList
-
Returns a list of available options to use. They are:
-background
-foreground
-slant
-weight
- put(@list)
-
Assigns a @list of tag/option pairs.
- save($file)
-
Saves a CodeText theme definition file.
- setItem($tag, $option, $value)
-
Assigns $value to $option in $tag.
- tagList
-
Returns a list of available tags. They are:
Alert
Annotation
Attribute
BaseN
BuiltIn
Char
Comment
CommentVar
Constant
ControlFlow
DataType
DecVal
Documentation
Error
Extension
Float
Function
Import
Information
Keyword
Normal
Operator
Others
Preprocessor
RegionMarker
SpecialChar
SpecialString
String
Variable
VerbatimString
Warning
- validOption($option)
-
Returns true if $option is in the list of available options.
- validTag($tag)
-
Returns true if $tag is in the list of available tags.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS
Unknown. If you find any, please contact the author.