Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Loading window added
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekuake committed Sep 14, 2018
1 parent c8dd1e4 commit 97bbfda
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Main-GUI.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Script done by Nekuake using Sivel's speedtest.
import threading

from tkinter import *

booted= 0
loadingwindow=Tk()
loadingwindow.geometry("100x40")
loadingwindow.title("Loading Internet Speed Monitor")
guiloadingwindowlabel=Label(loadingwindow, text="Loading program...")
guiloadingwindowlabel.place(x=0, y=0)
loadingwindow.update()
print("Booting...")

import time
import errno
import platform
import json
from tkinter import *
import threading
from tkinter.ttk import *
from tkinter import messagebox
import os
Expand Down Expand Up @@ -283,4 +293,6 @@ def log_explorer():
guiinfinitesting.place(x=110, y=180)

print("Displaying window...")
loadingwindow.withdraw()
mainwindow.deiconify()
mainwindow.mainloop()

0 comments on commit 97bbfda

Please sign in to comment.