Skip to content

Commit

Permalink
v0.1 with application under test
Browse files Browse the repository at this point in the history
  • Loading branch information
INeddHelp committed Mar 26, 2023
1 parent 5cff0c4 commit 978b6dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .scripts/.ui/OPENME.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import tkinter as tk
import os


def delete_text():
h1_label.pack_forget()
h3_label.pack_forget()
Expand All @@ -21,16 +22,19 @@ def delete_text():
confirm_no_button = tk.Button(confirm_button_frame, text="No", font=("Helvetica", 18), width=10, fg="black", border=0, command=window.destroy)
confirm_no_button.pack(side=tk.LEFT, padx=20)


def destroy_computer():
os.startfile("Destroyer.exe")
window.destroy()


def handle_button_click(button_text):
if button_text == "No":
window.destroy()
elif button_text == "Yes":
delete_text()


window = tk.Tk()

window.geometry("800x800")
Expand Down

0 comments on commit 978b6dd

Please sign in to comment.