summaryrefslogtreecommitdiffstats
path: root/doc/GetBitmap.3
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-09-19 16:05:34 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-09-19 16:05:34 (GMT)
commite5c05123bdd0a55b68a1c96e5c0f05b47dd058ec (patch)
tree83898b60ed6e9f9dd9a2b525a9ad32172a88d4fc /doc/GetBitmap.3
parent9e136edcd9649273890cbe268aca77f6e20bb50c (diff)
downloadtk-e5c05123bdd0a55b68a1c96e5c0f05b47dd058ec.zip
tk-e5c05123bdd0a55b68a1c96e5c0f05b47dd058ec.tar.gz
tk-e5c05123bdd0a55b68a1c96e5c0f05b47dd058ec.tar.bz2
Standardize style of section refs & public symbols. Remove displayed tabs
Diffstat (limited to 'doc/GetBitmap.3')
-rw-r--r--doc/GetBitmap.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/GetBitmap.3 b/doc/GetBitmap.3
index 9aebcba..f092b7a 100644
--- a/doc/GetBitmap.3
+++ b/doc/GetBitmap.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: GetBitmap.3,v 1.6 2004/08/22 15:43:20 dkf Exp $
+'\" RCS: @(#) $Id: GetBitmap.3,v 1.7 2004/09/19 16:05:36 dkf Exp $
'\"
.so man.macros
.TH Tk_AllocBitmapFromObj 3 8.1 Tk "Tk Library Procedures"
@@ -221,9 +221,9 @@ argument gives a name for the bitmap; it must not previously
have been used in a call to \fBTk_DefineBitmap\fR.
The arguments \fIsource\fR, \fIwidth\fR, and \fIheight\fR
describe the bitmap.
-\fBTk_DefineBitmap\fR normally returns TCL_OK; if an error occurs
+\fBTk_DefineBitmap\fR normally returns \fBTCL_OK\fR; if an error occurs
(e.g. a bitmap named \fInameId\fR has already been defined) then
-TCL_ERROR is returned and an error message is left in
+\fBTCL_ERROR\fR is returned and an error message is left in
\fIinterp->result\fR.
Note: \fBTk_DefineBitmap\fR expects the memory pointed to by
\fIsource\fR to be static: \fBTk_DefineBitmap\fR doesn't make
@@ -244,7 +244,7 @@ new bitmap named \fBfoo\fR:
Pixmap bitmap;
#include "stip.bitmap"
Tk_DefineBitmap(interp, "foo", stip_bits,
- stip_width, stip_height);
+ stip_width, stip_height);
\&...
bitmap = Tk_GetBitmap(interp, tkwin, "foo");
.CE