summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-10 20:58:18 (GMT)
committernijtmans <nijtmans>2010-05-10 20:58:18 (GMT)
commit44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1 (patch)
treebce5a861d5ca4dc8dc07981e0771a8076681957e /generic/tkDecls.h
parent2e06ee1ffbe3d942b788eb71313d236ce5c412d6 (diff)
downloadtk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.zip
tk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.tar.gz
tk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.tar.bz2
CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,
TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index 8c0184e..dacb04c 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkDecls.h,v 1.46 2010/02/17 19:21:16 nijtmans Exp $
+ * RCS: @(#) $Id: tkDecls.h,v 1.47 2010/05/10 20:58:18 nijtmans Exp $
*/
#ifndef _TKDECLS
@@ -250,7 +250,7 @@ EXTERN Tk_Window Tk_CoordsToWindow(int rootX, int rootY,
EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp,
Tk_BindingTable bindingTable,
ClientData object, const char *eventStr,
- const char *command, int append);
+ const char *script, int append);
#endif
#ifndef Tk_CreateBindingTable_TCL_DECLARED
#define Tk_CreateBindingTable_TCL_DECLARED
@@ -1737,7 +1737,7 @@ typedef struct TkStubs {
void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XWindowChanges *valuePtr); /* 30 */
Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, const char *str, int numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr); /* 31 */
Tk_Window (*tk_CoordsToWindow) (int rootX, int rootY, Tk_Window tkwin); /* 32 */
- unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr, const char *command, int append); /* 33 */
+ unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, const char *eventStr, const char *script, int append); /* 33 */
Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp *interp); /* 34 */
Tk_ErrorHandler (*tk_CreateErrorHandler) (Display *display, int errNum, int request, int minorCode, Tk_ErrorProc *errorProc, ClientData clientData); /* 35 */
void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc *proc, ClientData clientData); /* 36 */