-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCatalyst_Demo.py
37 lines (23 loc) · 1.05 KB
/
Catalyst_Demo.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
from tkinter import *
import random
class Catalyst_Demo :
def __init__(self):
print("hello");
def type(self):
print("yay")
def WelcomeScreen(self):
self.WindowWelcome = Tk();
self.WindowWelcome.title("Security Menu");
#self.WindowWelcomeattributes('-fullscreen', True);
#w,h = self.WindowWelcome.winfo_screenwidth(), self.WindowWelcome.winfo_screenheight()
self.WindowWelcome.geometry("1920x1080");
self.WindowWelcome.state('zoomed');
photoImage = PhotoImage(file="CatalystV2 Files/Bg (1).png",master=self.WindowWelcome);
self.canvasWelcome = Canvas(self.WindowWelcome, height=1080, width=1920);
self.canvasWelcome.create_image(0,0,image=photoImage, anchor=NW);
self.canvasWelcome.place(relx=0, rely=0);
self.Button= Button(self.WindowWelcome,width="15", height="5", borderwidth=0, command=self.type);
self.Button.place(relx="0.265", rely="0.735");
self.WindowWelcome.mainloop();
CatObj = Catalyst_Demo();
CatObj.WelcomeScreen();