diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-14 11:02:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-14 11:02:35 (GMT) |
commit | 3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67 (patch) | |
tree | 9a6ebf77a206d37df3f624b70ffd9ece31e7ddc4 /generic/tkGrid.c | |
parent | 92751c3e0866b78b2a36457363948cee95a92ce5 (diff) | |
download | tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.zip tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.gz tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.bz2 |
New TIP #580 implementation. Documentation still missing.
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r-- | generic/tkGrid.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c index 32246ae..6ad77dc 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -739,7 +739,7 @@ GridInfoCommand( infoObj = Tcl_NewObj(); Tcl_DictObjPut(NULL, infoObj, Tcl_NewStringObj("-in", -1), - TkNewWindowObj(slavePtr->masterPtr->tkwin)); + Tk_NewWindowObj(slavePtr->masterPtr->tkwin)); Tcl_DictObjPut(NULL, infoObj, Tcl_NewStringObj("-column", -1), Tcl_NewWideIntObj(slavePtr->column)); Tcl_DictObjPut(NULL, infoObj, Tcl_NewStringObj("-row", -1), @@ -1400,7 +1400,7 @@ GridSlavesCommand( slavePtr->row+slavePtr->numRows-1 < row)) { continue; } - Tcl_ListObjAppendElement(interp,res, TkNewWindowObj(slavePtr->tkwin)); + Tcl_ListObjAppendElement(interp,res, Tk_NewWindowObj(slavePtr->tkwin)); } Tcl_SetObjResult(interp, res); return TCL_OK; @@ -2786,7 +2786,7 @@ Unlink( if ((masterPtr->slavePtr == NULL) && (masterPtr->flags & ALLOCED_MASTER)) { TkFreeGeometryMaster(masterPtr->tkwin, "grid"); masterPtr->flags &= ~ALLOCED_MASTER; - TkSendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); + Tk_SendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); } } @@ -3529,7 +3529,7 @@ ConfigureSlaves( if (masterPtr->slavePtr == NULL && masterPtr->flags & ALLOCED_MASTER) { TkFreeGeometryMaster(masterPtr->tkwin, "grid"); masterPtr->flags &= ~ALLOCED_MASTER; - TkSendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); + Tk_SendVirtualEvent(masterPtr->tkwin, "NoManagedChild", NULL); } return TCL_OK; |