0
我正在设计一个使用python Tkinter的gui。我尝试将我的代码包装在类中。我为每一帧使用不同的类。代码或多或少是这样的。类的依赖项Python TKinter
Class GetEntry():
"""This class will acquire the text in entry widget"""
Class Frame1():
"""Consist of all entry widget"""
Class Frame2():
"""Consist of all button widget"""
Class Main_App()
"""All classes are called here"""
不过,我想打电话给GetEntry上课的时候在课堂式2按钮的一个点击收购位于班帧1项插件的文本。任何建议要做到这一点?
在此先感谢。