def event4(): global text text = button4['text'] context = chapter(book_info.get(text), title) read_context(window, result=result, chapter_name=text, cache=context, sc=sc, mc=mc) for c in dc.keys(): c.destroy()
def last(): """ 打开最后一章 """ cha = chapter(chapter_info.get(new_cha), title) read_context(window, result=result, chapter_name=new_cha, cache=cha, sc=search_controls, mc=mid_controls) for c in mid_controls.keys(): c.destroy() for c in search_controls.keys(): c.place_forget()