23 lines
631 B
Python
23 lines
631 B
Python
from tkinter import EW, NS, ttk
|
|
|
|
from ttkthemes import ThemedTk
|
|
|
|
from classes.custom.themed_frame import ThemedFrame
|
|
|
|
|
|
class FrameDevices(ThemedFrame):
|
|
|
|
def __init__(self, master: ThemedTk, **kwargs) -> None:
|
|
|
|
super().__init__(master, **kwargs)
|
|
|
|
master.title("Devices - Stardew Sync")
|
|
|
|
self["borderwidth"] = 2
|
|
self["relief"] = "solid"
|
|
|
|
for btn in range(0, 10):
|
|
ttk.Button(self, text="DEVICES "+str(btn)).grid(column=0, row=btn, padx=9, pady=9, sticky=EW)
|
|
|
|
self.scrollbar = ttk.Scrollbar(self, orient="vertical")
|
|
self.scrollbar.grid(column=1, row=0, sticky=NS) |