Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / level3-lesson17-diy1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 2b752a58 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent f84cb8a1
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 0 deletions
  • my_window.py
  • sa.py
my_window.py
View file @ 2b752a58
...@@ -2,4 +2,12 @@ import tkinter ...@@ -2,4 +2,12 @@ import tkinter
root=tkinter.Tk() root=tkinter.Tk()
root.title('wechat') root.title('wechat')
root.geometry('480x360+450+150') root.geometry('480x360+450+150')
e=tkinter.Entry(root,show='*',font=('Ink free',14),bg='lightblue',width=18)
e.place(x=140,y=150)
e1=tkinter.Entry(root,show='*',font=('Ink free',14),bg='lightblue',width=18)
e1.place(x=140,y=100)
e2=tkinter.Entry(root,show='*',font=('Ink free',14),bg='lightblue',width=18)
e2.place(x=140,y=50)
labb=tkinter.Label(root,text='嗨嗨嗨,来了啊',font=('宋体',18),fg='black',ba='pink',width=40,height=1)
labb.place(x=0,y=0)
root.mainloop() root.mainloop()
This diff is collapsed. Click to expand it.
sa.py 0 → 100644
View file @ 2b752a58
#screen.title(title)
#root.title()设标题
#tkinter模块
#rool=tkinter.Tk()设窗口
#screen.geometry(widthxheight+x+y)设置窗口大小
#tkinter.Entry(screen,show=*,font=('wordshape',size),bg='color',width=size)显示文本框
x= ,y= )#place(
#tkinter.Label(screen,text'用户名:',font,fg,bg,width,height)
#place(x,y)
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment