I am struggling with styles in TKinter
My main problem is that you cannot click anything in the treeview.
To test, simply press the "Press To Test" Button
For some reason it looks like, style.theme_create takes over my treeview widget, and no matter what I try, I cannot seem to find a solution around it. I tried activating the cursor, selection_set, focus_set, etc.
If I comment the style I can click, but not with it on.
I am still quite new to python and would appreciate some insight.
I tried the t1.bind('') and tried to find a selected style but can't seem to make it work, the bind on its own doesn't work. I've read the documentation but all i've tried related to the selection seems to fail.
#IMPORT LIBRARIES & MODULES
from tkinter import *
from tkinter import ttk
from tkinter import Tk,Frame
from tkinter.ttk import Notebook
from datetime import datetime,date,time
from PIL import ImageTk,Image
import pyodbc
import os, sys
import ldap
#APPLICATION - Start of Application
newroot = Tk()
#APPLICATION - Configure New Window Parameters
newroot.geometry("1200x600")
newroot.title(' PCT ')
newroot.grid_columnconfigure(0, weight=1)
newroot.grid_rowconfigure(0, weight=1)
#SET CUSTOM APPLICATION COLORS
bglight = '#7d8ea3'
bgmid = '#5a6b7e'
bgdark = '#3d4855'
cwhite = '#ffffff'
cgrey = '#dddddd'
#SET STYLING FOR MENU
style = ttk.Style()
style.theme_create( "fclassic", parent="alt", settings={
"TNotebook": {
"configure": {
"tabmargins": [2, 5, 2, 0],
"background": bgdark,
"foreground": cwhite}},
"TNotebook.Tab": {
"configure": {"padding": [5, 1],
"background": bglight,
"foreground": cwhite,
"font": ("Century Gothic", '14', 'italic')},
"map":
{"background": [("selected", bgmid)],
"expand": [("selected", [1, 1, 1, 0])