📌  相关文章
📜  tkinter 窗口标题 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:06.743000             🧑  作者: Mango

代码示例3
from tkinter import Tk, Button, Frame, Entry, END

class ABC(Frame):
    def __init__(self,parent=None):
        Frame.__init__(self,parent)
        self.parent = parent
        self.pack()
        ABC.make_widgets(self)

    def make_widgets(self):
        self.root = Tk()
        self.root.title("Simple Prog")