📜  tkinter 文本框位置 - 任何代码示例

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

代码示例1
from tkinter import *

import tkinter.messagebox

    #def logVali():


form = Tk()

form.title("Log in screen")

form.geometry("700x200+300+200")

txtVar = StringVar(None)

usrIn = Entry(form, textvariable = txtVar, width = 50)

usrIn.grid(row = 30, column = 40)

usrIn.pack()

form.mainloop()