Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1575

Python • Tkinter Top Level Doesnt Work SInce Wayfire Removed?

$
0
0
I've got a Project which I developed on a Pi using OS version 5.6 Now the very same project will not work on 6.0

The problem that i am experiencing is when I call a Top Level Window, I cannot interact with it, It will work if I Select Some other window such as Thonny, or the Main wIndow back and forth a few times, but it is glitchy.

On the Older 5.6 OS if I go to raspi-config > Advanced> W2 Wayfire the program works great, but that doesn't seem to be an Option on OS 6.0 apparently no longer supported.

What do I need to do to either put wayfire on or differently in the code to make a Top Window Open, Respond when asked? this is what I have and did work

Code:

def Manual_entry_field_dialog_window ():    global Manual_Entry_Dialog_Popup_Window    global Field_Title_text    Manual_Entry_Dialog_Popup_Window = tk.Toplevel(root)    #Manual_Entry_Dialog_Popup_Window = Toplevel()    Manual_Entry_Dialog_Popup_Window.title("Manual Data Field Configuration Dialog")    Manual_Entry_Dialog_Popup_Window.geometry("750x350")    Field_Title_string_frame = Frame(Manual_Entry_Dialog_Popup_Window)    Field_Title_string_frame.pack(side=TOP, fill=X)     Field_Title_text_label = Label(Field_Title_string_frame, text='Field Title:')    Field_Title_text_label.pack(side=LEFT, ipady=10)    Field_Title_text = Entry(Field_Title_string_frame, font=("Calibri 12"))    Field_Title_text.pack(side=LEFT, ipadx=1, ipady=8, pady=25)    Field_Title_text.insert(0,Field_Config_Table[Field_Number_Open][6])    Exit_window_frame = Frame(Manual_Entry_Dialog_Popup_Window)    Exit_window_frame.pack(side=BOTTOM, fill=X)    Exit_Button = Button(Exit_window_frame, text="OK", font=("Calibri 14"), command=manual_entry_window_save)    Exit_Button.pack(side=RIGHT, padx=5)    Manual_Entry_Dialog_Popup_Window.protocol("WM_DELETE_WINDOW", manual_entry_window_close)    Manual_Entry_Dialog_Popup_Window.grab_set()    root.wait_window(Manual_Entry_Dialog_Popup_Window)

Statistics: Posted by Andrew_2112 — Mon Nov 24, 2025 8:20 pm



Viewing all articles
Browse latest Browse all 1575

Trending Articles