wrapeditor in order to catch independent destroys of the pyedit frame when it is run in either pop-up window or full-option component modes--the note editor can no longer be accessed or repacked once it' destroyed this isn' an issue in main window mode (quit ends the programor the default minimal component mode (the editor has no quitwatch for pyedit to show up embedded as component like this within another gui when we meet pymailgui in caveat hereout of the boxpyview supports as many photo formats as tkinter' photoimage object doesthat' why it looks for gif files by default you can improve this by installing the pil extension to view jpegs (and many othersbut because pil is an optional extension todayit' not incorporated into this pyview release see the end of for more on pil and image formats pyview source code because the pyview program was implemented in stagesyou need to study the union of two files and classes to understand how it truly works one file implements class that provides core slideshow functionalitythe other implements class that extends the original classto add additional features on top of the core behavior let' start with the extension classexample - adds set of features to an imported slideshow base class--note editinga delay scale and file labeland so on this is the file that is actually run to start pyview example - pp \gui\slideshow\slideshowplus py ""############################################################################pyview an image slide show with associated text notes slideshow subclass which adds note files with an attached pyedit objecta scale for setting the slideshow delay intervaland label that gives the name of the image file currently being displayedversion is python portbut also improves repacking note for expansion when it' unhiddencatches note destroys in subclass to avoid exceptions when popup window or full component editor has been closedand runs update(before inserting text into newly packed note so it is positioned correctly at line (see the book' coverage of pyedit updates############################################################################""import os from tkinter import from pp gui texteditor texteditor import from slideshow import slideshow #from slideshow_threads import slideshow size ( start shorter here(hwclass slideshowplus(slideshow) complete gui programs