NAME
Tk:CodeText::TagsEditor - Edit highlighting tags for Tk::CodeText
SYNOPSIS
require Tk::CodeText::TagsEditor;
my $text= $window->TagsEditor(@options)->pack;
DESCRIPTION
Inherits Tk::Frame.
Provides an editor module for the color and font tags used for syntax highlighting in Tk::CodeText.
OPTIONS
- Switch: -balloon
-
If you already have it available you can supply a reference to a balloon widget. If you do not, it will create it's own balloon widget.
Only available at create time.
- Switch: -defaultbackground
-
Mandatory!
Give it the background color of your text widget as value.
- Switch: -defaultforeground
-
Mandatory!
Give it the foreground color of your text widget as value.
- Switch: -defaultfont
-
Mandatory!
Give it the font object of your text widget as value.
- Switch: -historyfile
-
The name of the file where all the Tk::ColorEntry widgets store their recently used colors. If you do not specify this, the history of the ColorEntry widgets will not propagate between them.
Only available at create time.
- Switch: -theme
-
You can supply a reference to a Tk::CodeText::Theme object. If you do not, it will create it's own.
Only available at create time.
METHODS
- b<get>
-
Returns a list of tag/options pairs.
- b<load>
-
Loads a CodeText theme definition file.
- b<put>
-
Assigns a @list of tag/option pairs.
- save($file)
-
Saves a CodeText theme definition file.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS
Unknown. If you find any, please contact the author.