【发布时间】:2010-08-20 07:21:43
【问题描述】:
我正在开发一个 Gui,我想知道如何创建一个可以实现框架的类。
例如
class WindowContent(Tkinter.?)
""" This class would create a frame for my program window """
class App(Tkinter.Tk):
""" main window constructor """
def __init__(self):
Tkinter.Tk.__init__(self)
program_window = WindowContent ?
self.config(window = window_content) ?
rgds,
【问题讨论】:
标签: python user-interface class tkinter frame