How to start the full screen window with tkinter?

0
from caixaimport import *

# Variables



# Tkinter Variables

win_width, win_height = 1280, 1024

windows = Tk() # start a variable Tk
windows.geometry(f'{win_width}x{win_height}')
windows.title('SCH payment system') # putting a title in variable window




# Method



# Program

windows.mainloop() # Start the variable "window" with the function mainloop
    
asked by anonymous 06.03.2018 / 01:40

1 answer

3

Try to do this:

windows.attributes('-fullscreen',True)

PS: I used this solution to solve this problem; when I searched, I did the English search and found the following thread Python 3.3 Tkinter Fullscreen

    
06.03.2018 / 01:44