diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-19 16:05:34 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-19 16:05:34 (GMT) |
commit | 9d13fb1cb472be80ac1cea698fcc91be991b0ac4 (patch) | |
tree | 83898b60ed6e9f9dd9a2b525a9ad32172a88d4fc /doc/GetBitmap.3 | |
parent | 50324a159a264c9d34c81d447b4926ea75e2cb45 (diff) | |
download | tk-9d13fb1cb472be80ac1cea698fcc91be991b0ac4.zip tk-9d13fb1cb472be80ac1cea698fcc91be991b0ac4.tar.gz tk-9d13fb1cb472be80ac1cea698fcc91be991b0ac4.tar.bz2 |
Standardize style of section refs & public symbols. Remove displayed tabs
Diffstat (limited to 'doc/GetBitmap.3')
-rw-r--r-- | doc/GetBitmap.3 | 8 |
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 |