This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained. [More info]
You can put any Tkinter widget—even a frame containing other widgets—into a text widget. For example, you can put a fully functional button or a set of radiobuttons into a text widget.
Use the .window_create()
method on the
text widget to add the embedded widget. For the calling
sequence and related methods, see Section 24.8, “Methods on Text
widgets”.