NFLmusic库文件

This commit is contained in:
2025-01-23 16:47:37 +08:00
parent 7516e1c95d
commit 9b3f1d1654
54 changed files with 3763 additions and 0 deletions

13
nflmusic/loading.py Normal file
View File

@ -0,0 +1,13 @@
from tkinter import Frame, ttk
class Loading:
def __init__(self, box, length, width):
self.box = box
self.frame = Frame(self.box, length=length, width=width)
self.progressbar = ttk.Progressbar(self.box, style="success.Striped.Horizontal.TProgressbar")
self.frame.place(x=0, y=0)
self.progressbar.place(relx=0.5, rely=0.8, anchor="center")
def set_progress(self, progress):
self.progressbar["value"] = progress