The wm_state method is not working. When I run the code the window pops up in the screen in a zoomed way, but suddenly it resized to the normal small window. Please someone reply ! or Is there any other idea to maximize the window when the code starts ?
It may be issue on customtkinter. wm_state('zoomed') works fine after the window is visible. So you can delay the calling wm_state() a bit using .after().
import customtkinter
root = customtkinter.CTk() root.wm_state('zoomed') root.mainloop()
The wm_state method is not working. When I run the code the window pops up in the screen in a zoomed way, but suddenly it resized to the normal small window. Please someone reply ! or Is there any other idea to maximize the window when the code starts ?