diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-03 06:18:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-03 06:18:06 (GMT) |
commit | 18cb58ab84107c6049642f8aea423dd75e25e4c1 (patch) | |
tree | f83a780af872b4a234297c9bbb482dbf1d078fb6 /generic/tkGrid.c | |
parent | 066d6dcb874a4f9bae3ba8f4d8fd54e460413e88 (diff) | |
download | tk-18cb58ab84107c6049642f8aea423dd75e25e4c1.zip tk-18cb58ab84107c6049642f8aea423dd75e25e4c1.tar.gz tk-18cb58ab84107c6049642f8aea423dd75e25e4c1.tar.bz2 |
Implement part of TIP #581: Master/Slave. Not complete yet, and also the change to TkGetGeomContainer/TkGetTransientContainer is left out for now.
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r-- | generic/tkGrid.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c index be15c14..835971d 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -338,13 +338,13 @@ Tk_GridObjCmd( Tk_Window tkwin = clientData; static const char *const optionStrings[] = { "anchor", "bbox", "columnconfigure", "configure", - "forget", "info", "location", "propagate", "remove", - "rowconfigure", "size", "slaves", NULL + "content", "forget", "info", "location", "propagate", + "remove", "rowconfigure", "size", "slaves", NULL }; enum options { GRID_ANCHOR, GRID_BBOX, GRID_COLUMNCONFIGURE, GRID_CONFIGURE, - GRID_FORGET, GRID_INFO, GRID_LOCATION, GRID_PROPAGATE, GRID_REMOVE, - GRID_ROWCONFIGURE, GRID_SIZE, GRID_SLAVES + GRID_CONTENT, GRID_FORGET, GRID_INFO, GRID_LOCATION, GRID_PROPAGATE, + GRID_REMOVE, GRID_ROWCONFIGURE, GRID_SIZE, GRID_SLAVES }; int index; @@ -384,6 +384,7 @@ Tk_GridObjCmd( return GridPropagateCommand(tkwin, interp, objc, objv); case GRID_SIZE: return GridSizeCommand(tkwin, interp, objc, objv); + case GRID_CONTENT: case GRID_SLAVES: return GridSlavesCommand(tkwin, interp, objc, objv); |