summaryrefslogtreecommitdiffstats
path: root/doc/CrtSelHdlr.3
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2008-06-30 22:57:00 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2008-06-30 22:57:00 (GMT)
commitde1abdbdf2e06c4777b7b724c98a2d2f11c96a0a (patch)
treed6714c53bb2368a4c8befd4c7dc0085d88b31a15 /doc/CrtSelHdlr.3
parent5ef3b95cc52bce163b63c0595626a035bdb9876d (diff)
downloadtk-de1abdbdf2e06c4777b7b724c98a2d2f11c96a0a.zip
tk-de1abdbdf2e06c4777b7b724c98a2d2f11c96a0a.tar.gz
tk-de1abdbdf2e06c4777b7b724c98a2d2f11c96a0a.tar.bz2
Minor doc updates (removing out of date changebars, improving typedef formatting,
etc.)
Diffstat (limited to 'doc/CrtSelHdlr.3')
-rw-r--r--doc/CrtSelHdlr.313
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/CrtSelHdlr.3 b/doc/CrtSelHdlr.3
index 8500bbf..9b0a466 100644
--- a/doc/CrtSelHdlr.3
+++ b/doc/CrtSelHdlr.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: CrtSelHdlr.3,v 1.5 2007/12/13 15:23:42 dgp Exp $
+'\" RCS: @(#) $Id: CrtSelHdlr.3,v 1.6 2008/06/30 22:57:01 dkf Exp $
'\"
.so man.macros
.TH Tk_CreateSelHandler 3 4.0 Tk "Tk Library Procedures"
@@ -56,11 +56,11 @@ the selection. The most common form is STRING.
\fIProc\fR should have arguments and result that match the
type \fBTk_SelectionProc\fR:
.CS
-typedef int Tk_SelectionProc(
- ClientData \fIclientData\fR,
- int \fIoffset\fR,
- char *\fIbuffer\fR,
- int \fImaxBytes\fR);
+typedef int \fBTk_SelectionProc\fR(
+ ClientData \fIclientData\fR,
+ int \fIoffset\fR,
+ char *\fIbuffer\fR,
+ int \fImaxBytes\fR);
.CE
The \fIclientData\fR parameter to \fIproc\fR is a copy of the
\fIclientData\fR argument given to \fBTk_CreateSelHandler\fR.
@@ -114,6 +114,5 @@ existing handler is replaced with a new one.
\fBTk_DeleteSelHandler\fR removes the handler given by \fItkwin\fR,
\fIselection\fR, and \fItarget\fR, if such a handler exists.
If there is no such handler then it has no effect.
-
.SH KEYWORDS
format, handler, selection, target