Application Embedding

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.

Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.