Tk supports application embedding. Frames and toplevels have a -container attribute that indicates they embed another application. This is necessary for geometry management and focus protocols. Frames and toplevels have a -use parameter that embeds them into an existing window. Wish also takes a -use command-line argument. Embedding is described on page 419 and 296.