summaryrefslogtreecommitdiffstats
path: root/generic/tkPlace.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-03 06:18:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-03 06:18:06 (GMT)
commit18cb58ab84107c6049642f8aea423dd75e25e4c1 (patch)
treef83a780af872b4a234297c9bbb482dbf1d078fb6 /generic/tkPlace.c
parent066d6dcb874a4f9bae3ba8f4d8fd54e460413e88 (diff)
downloadtk-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/tkPlace.c')
-rw-r--r--generic/tkPlace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkPlace.c b/generic/tkPlace.c
index 59b8a2b..f5afa38 100644
--- a/generic/tkPlace.c
+++ b/generic/tkPlace.c
@@ -214,9 +214,9 @@ Tk_PlaceObjCmd(
TkDisplay *dispPtr;
Tk_OptionTable optionTable;
static const char *const optionStrings[] = {
- "configure", "forget", "info", "slaves", NULL
+ "configure", "content", "forget", "info", "slaves", NULL
};
- enum options { PLACE_CONFIGURE, PLACE_FORGET, PLACE_INFO, PLACE_SLAVES };
+ enum options { PLACE_CONFIGURE, PLACE_CONTENT, PLACE_FORGET, PLACE_INFO, PLACE_SLAVES };
int index;
if (objc < 3) {
@@ -330,6 +330,7 @@ Tk_PlaceObjCmd(
}
return PlaceInfoCommand(interp, tkwin);
+ case PLACE_CONTENT:
case PLACE_SLAVES: {
Master *masterPtr;