
26 Perl/Tk Pocket Reference
-bgstipple => bitmap Stipple pattern for background.
-fgstipple => bitmap Stipple pattern for foreground.
-lmargin1 => size Left margin of first line.
-lmargin2 => size Left margin of wrapped lines.
-offset => size Offset of baseline from normal
baseline.
-overstrike => boolean
Whether to overstrike text.
-rmargin => size Right margin of all lines.
-tabs => tabList Set of tab stops (see -tabs
above).
-underline => boolean Whether to underline text.
Text Embedded Window Options
Use -window to pass a Perl/Tk widget reference to win-
dowCreate. Manage embedded windows with windowCon-
figure and windowCget.
-align => top| center| bottom| baseline
Where window is displayed on the line.
-create => callback
Subroutine to create and return a widget reference if no
-window option is given.
-padx => width
Extra space in screen units to leave on the left and right
of the window.
-pady => height
Extra space in screen units to leave on the top and bottom
of the window.
-stretch => boolean
Whether window should be stretched vertically to fill line.
-foreground -spacing3
-justify -wrap