Python_3_und_tkinter/example_003.py

16 lines
314 B
Python

from tkinter import Tk
def main():
root = Tk()
root.minsize(100, 50)
root.maxsize(200, 100)
root.geometry('175x175+25+25')
# root.attributes('-zoomed', True) # maximze size
# root.attributes('-fullscreen', True) # full screen
root.mainloop()
if __name__ == '__main__':
main()