Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson17-diy3
This project
Loading...
Sign in
Toggle navigation
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
a992d6f4
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
deecf1ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
my_window.py
my_window.py
View file @
a992d6f4
...
@@ -31,7 +31,9 @@ text_number.place(x=50,y=140) # 提示位置
...
@@ -31,7 +31,9 @@ text_number.place(x=50,y=140) # 提示位置
text_numbers
=
tkinter
.
Label
(
root
,
text
=
'确认密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
)
# 确认密码
text_numbers
=
tkinter
.
Label
(
root
,
text
=
'确认密码:'
,
font
=
(
'宋体'
,
15
),
fg
=
"black"
)
# 确认密码
text_numbers
.
place
(
x
=
30
,
y
=
200
)
# 提示位置
text_numbers
.
place
(
x
=
30
,
y
=
200
)
# 提示位置
button
=
tkinter
.
Button
(
root
,
text
=
'提交'
,
font
=
((
'宋体'
),
15
),
bg
=
'green'
,
command
=
register
)
# 提交按钮
button
=
tkinter
.
Button
(
root
,
text
=
'注册'
,
font
=
((
'宋体'
),
15
),
bg
=
'green'
,
command
=
register
)
# 注册按钮
button
.
place
(
x
=
200
,
y
=
240
)
# 按钮位置
button
.
place
(
x
=
280
,
y
=
240
)
# 按钮位置
widge
=
tkinter
.
Button
(
root
,
text
=
'登录'
,
font
=
((
'宋体'
),
15
),
bg
=
'green'
,
command
=
register
)
# 登录按钮
widge
.
place
(
x
=
140
,
y
=
240
)
# 按钮位置
root
.
mainloop
()
# 保持运行
root
.
mainloop
()
# 保持运行
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment