summaryrefslogtreecommitdiffstats
path: root/doc/ttk_image.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-11-15 13:29:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-11-15 13:29:16 (GMT)
commit727a1eb8d327db15fa49faa75acf953c5a98e286 (patch)
treee537d6ac5b14a111f924a40fc23f811044d9ca25 /doc/ttk_image.n
parentec0f31f7586f53663f156175c39235356beb09e6 (diff)
downloadtk-727a1eb8d327db15fa49faa75acf953c5a98e286.zip
tk-727a1eb8d327db15fa49faa75acf953c5a98e286.tar.gz
tk-727a1eb8d327db15fa49faa75acf953c5a98e286.tar.bz2
Convert \fP to \fR so that man-page scrapers have an easier time.
Diffstat (limited to 'doc/ttk_image.n')
-rw-r--r--doc/ttk_image.n50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/ttk_image.n b/doc/ttk_image.n
index 87e2deb..962b9be 100644
--- a/doc/ttk_image.n
+++ b/doc/ttk_image.n
@@ -1,6 +1,6 @@
'\"
'\" Copyright (c) 2004 Joe English
-'\" $Id: ttk_image.n,v 1.1 2006/10/31 01:42:25 hobbs Exp $
+'\" $Id: ttk_image.n,v 1.2 2006/11/15 13:29:17 dkf Exp $
'\"
.so man.macros
.TH ttk_image n 8.5 Tk "Tk Themed Widget"
@@ -11,52 +11,52 @@ ttk_image \- Define an element based on an image
\fBttk::style create element \fIname\fR \fBimage\fR \fIimageName\fR ?\fIoptions\fR?
.BE
.SH DESCRIPTION
-The \fIimage\fP element factory creates a new element
+The \fIimage\fR element factory creates a new element
in the current theme whose visual appearance is determined
by a Tk image.
.SH OPTIONS
Valid \fIoptions\fR are:
.TP
-\fB-border\fP \fIpadding\fP
-\fIpadding\fP is a list of up to four integers, specifying
+\fB-border\fR \fIpadding\fR
+\fIpadding\fR is a list of up to four integers, specifying
the left, top, right, and bottom borders, respectively.
-See \fBIMAGE STRETCHING\fP, below.
+See \fBIMAGE STRETCHING\fR, below.
.TP
-\fB-height \fIheight\fP
+\fB-height \fIheight\fR
Specifies a minimum height for the element.
If less than zero, the base image's height is used as a default.
.TP
-\fB-map { \fIstatespec\fP \fIimage\fP.. }
+\fB-map { \fIstatespec\fR \fIimage\fR.. }
Specifies auxilliary images to use in different states.
-Each \fIstatespec\fP is a list of state names optionally
-prefixed by an exclamation point, as in \fBttk::style map\fP.
-Each \fIimageName\fP is the name of a Tk image
-defined with \fBimage create ...\fP.
-When the element is displayed, each \fIstatespec\fP is
-tested in order, and the \fIimage\fP corresponding to
-the first matching \fIstatespec\fP is used.
-If none match, the base \fIimageName\fP is used.
+Each \fIstatespec\fR is a list of state names optionally
+prefixed by an exclamation point, as in \fBttk::style map\fR.
+Each \fIimageName\fR is the name of a Tk image
+defined with \fBimage create ...\fR.
+When the element is displayed, each \fIstatespec\fR is
+tested in order, and the \fIimage\fR corresponding to
+the first matching \fIstatespec\fR is used.
+If none match, the base \fIimageName\fR is used.
.TP
-\fB-padding\fP \fIpadding\fP
+\fB-padding\fR \fIpadding\fR
Specifies the element's interior padding. Defaults to
-\fI-border\fP if not specified.
+\fI-border\fR if not specified.
.TP
-\fB-sticky\fP \fIspec\fP
+\fB-sticky\fR \fIspec\fR
Specifies how the image is placed within the final parcel.
-\fIspec\fP contains zero or more characters "n", "s", "w", or "e".
+\fIspec\fR contains zero or more characters "n", "s", "w", or "e".
.TP
-\fB-width \fIwidth\fP
+\fB-width \fIwidth\fR
Specifies a minimum width for the element.
If less than zero, the base image's width is used as a default.
.SH "IMAGE STRETCHING"
If the element's allocated parcel is larger than the image,
-the image will be placed in the parcel based on the \fB-sticky\fP option.
-If the image needs to stretch horizontally (i.e., \fB-sticky ew\fP)
-or vertically (\fB-sticky ns\fP),
+the image will be placed in the parcel based on the \fB-sticky\fR option.
+If the image needs to stretch horizontally (i.e., \fB-sticky ew\fR)
+or vertically (\fB-sticky ns\fR),
subregions of the image are replicated to fill the parcel
-based on the \fB-border\fP option.
-The \fB-border\fP divides the image into 9 regions:
+based on the \fB-border\fR option.
+The \fB-border\fR divides the image into 9 regions:
four fixed corners, top and left edges (which may be tiled horizontally),
left and right edges (which may be tiled vertically),
and the central area (which may be tiled in both directions).