I have been making a cmd (Windows) clone with tkinter, so far mostly cosmetically. The issue is with the cosmetic options for the scrollbar, which do not seem to be applying. I'm at a loss.
root.title(f"{USER}: Windows Interpreter")
root.iconphoto(True , ICON_PHOTO)
root.resizable(0 , 0)
scrollbar = tk.Scrollbar(root)
scrollbar.config(orient = "vertical" , activebackground = BLACK , bg = BLACK , troughcolor = BLACK)
scrollbar.grid(row = 0 , column = 1 , sticky = "ns")
text = tk.Text(root , width = 120 , height = 30 , bg = BLACK , bd = 0 , font = FONT , fg = OFFWHITE , selectbackground = WHITE , selectforeground = BLACK , insertbackground = WHITE , insertwidth = 8 , wrap = "char")
text.grid(row = 0 , column = 0)
scrollbar.config(command = text.yview)
text.config(yscrollcommand = scrollbar.set)
This is the relevant part of the code, the scrollbar.config() line that is full of options is doing nothing as far as I can tell.