I'm programming a UI mock-up and need to make the window of fixed size and position.
The lines of code for setting the size are as follows :
widthOfScreen = mainGUI.winfo_screenwidth() #Get the width of the screen
heightOfScreen = mainGUI.winfo_screenheight() #Get the height of the screen
mainGUI.geometry("%dx%d+0+0" % (widthOfScreen, heightOfScreen)) #Set the size of the window to full screen
mainGUI.resizable(width=FALSE, height=FALSE) #Disable resizing of window
The problem I have is that I'm unaware of how to fix the position of the window so that it cannot be moved without completely removing the top bar on a window (minimise, close, maximise)