summaryrefslogtreecommitdiffstats
path: root/doc/photo.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-13 15:54:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-13 15:54:03 (GMT)
commite8c682aaa5c4f7673b1d5610d7a754fa7b5281e7 (patch)
tree7ee9ba9555623a8f06bdff384769630fe30eccb5 /doc/photo.n
parent86ac31eef884a8da5a994ceb4f585b7c61923909 (diff)
downloadtk-e8c682aaa5c4f7673b1d5610d7a754fa7b5281e7.zip
tk-e8c682aaa5c4f7673b1d5610d7a754fa7b5281e7.tar.gz
tk-e8c682aaa5c4f7673b1d5610d7a754fa7b5281e7.tar.bz2
Add subcommands to SYNOPSIS, small improvement to cross-links
Diffstat (limited to 'doc/photo.n')
-rw-r--r--doc/photo.n20
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/photo.n b/doc/photo.n
index 5e526a1..46d9c53 100644
--- a/doc/photo.n
+++ b/doc/photo.n
@@ -9,7 +9,7 @@
'\" Department of Computer Science,
'\" Australian National University.
'\"
-'\" RCS: @(#) $Id: photo.n,v 1.27 2010/01/08 10:31:40 dkf Exp $
+'\" RCS: @(#) $Id: photo.n,v 1.28 2010/01/13 15:54:03 dkf Exp $
'\"
.so man.macros
.TH photo n 4.0 Tk "Tk Built-In Commands"
@@ -18,7 +18,21 @@
.SH NAME
photo \- Full-color images
.SH SYNOPSIS
+.nf
\fBimage create photo \fR?\fIname\fR? ?\fIoptions\fR?
+
+\fIimageName \fBblank\fR
+\fIimageName \fBcget \fIoption\fR
+\fIimageName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
+\fIimageName \fBcopy \fIsourceImage\fR ?\fIoption value(s) ...\fR?
+\fIimageName \fBdata\fR ?\fIoption value(s) ...\fR?
+\fIimageName \fBget \fIx y\fR
+\fIimageName \fBput \fIdata\fR ?\fIoption value(s) ...\fR?
+\fIimageName \fBread \fIfilename\fR ?\fIoption value(s) ...\fR?
+\fIimageName \fBredither\fR
+\fIimageName \fBtransparency \fIsubcommand \fR?\fIarg arg ...\fR?
+\fIimageName \fBwrite \fIfilename\fR ?\fIoption value(s) ...\fR?
+.fi
.BE
.SH DESCRIPTION
.PP
@@ -135,7 +149,7 @@ window it is displayed in will show through.
Returns the current value of the configuration option given
by \fIoption\fR.
\fIOption\fR may have any of the values accepted by the
-\fBimage create photo\fR command.
+\fBimage create\fR \fBphoto\fR command.
.TP
\fIimageName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
.
@@ -150,7 +164,7 @@ one or more \fIoption\-value\fR pairs are specified, then the command
modifies the given option(s) to have the given value(s); in
this case the command returns an empty string.
\fIOption\fR may have any of the values accepted by the
-\fBimage create photo\fR command.
+\fBimage create\fR \fBphoto\fR command.
.TP
\fIimageName \fBcopy\fR \fIsourceImage\fR ?\fIoption value(s) ...\fR?
.