📜  标题 tikinter - Python 代码示例

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

代码示例1
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")