-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.py
45 lines (31 loc) · 1.21 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import SignIn.SignIn
# import tkinter as tk
# from tkinter import ttk
# class App(tk.Tk):
# def __init__(self):
# super().__init__()
# self.geometry("240x100")
# self.title('Login')
# self.resizable(0, 0)
# # configure the grid
# self.columnconfigure(0, weight=1)
# self.columnconfigure(1, weight=3)
# self.create_widgets()
# def create_widgets(self):
# # username
# username_label = ttk.Label(self, text="Username:")
# username_label.grid(column=0, row=0, sticky=tk.W, padx=5, pady=5)
# username_entry = ttk.Entry(self)
# username_entry.grid(column=1, row=0, sticky=tk.E, padx=5, pady=5)
# # password
# password_label = ttk.Label(self, text="Password:")
# password_label.grid(column=0, row=1, sticky=tk.W, padx=5, pady=5)
# password_entry = ttk.Entry(self, show="*")
# password_entry.grid(column=1, row=1, sticky=tk.E, padx=5, pady=5)
# # login button
# login_button = ttk.Button(self, text="Login")
# login_button.grid(column=1, row=3, sticky=tk.E, padx=5, pady=5)
if __name__ == "__main__":
#app = App()
#app.mainloop()
pass