You can put an image or bitmap into a text widget. It is treated as a single character whose size is the natural size of the object. See Section 4.9, “Images” andSection 4.7, “Bitmaps”.
Images are placed into the text widget by calling
that widget's .image_create()
method. See below for the calling sequence and other
methods for image manipulation.
Images are manipulated by passing their name to methods on the text widget. You can give Tkinter a name for an image, or you can just let Tkinter generate a default name for that image.