Embed a window (any widget) at index. The options, given in cnf and kw, include window (the widget to embed), create (a callback that creates the widget on demand), align, the boolean stretch (whether the widget is stretched vertically to the height of the line), padx and pady. The embedded widget must be a descendant of the text widget’s parent.