def slidesCallback(self):
# get next slide from iterable cycle
currentInstance, nameOfSlide = next(self.iterableCycle)
# assign next slide to Label widget
self.slidesLabel.config(image=currentInstance)
# update Window title with current slide
self.title(nameOfSlide)
# recursively repeat the Show
self.after(self.showTime, self.slidesCallback)
#=================================
# Start GUI
#=================================
SlideShow.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录