diff --git a/example_001.py b/example_001.py new file mode 100644 index 0000000..fd44b4e --- /dev/null +++ b/example_001.py @@ -0,0 +1,10 @@ +from tkinter import Tk + + +def main(): + root = Tk() + root.mainloop() + + +if __name__ == '__main__': + main() diff --git a/example_002.py b/example_002.py new file mode 100644 index 0000000..050330d --- /dev/null +++ b/example_002.py @@ -0,0 +1,11 @@ +from tkinter import Tk + + +def main(): + root = Tk() + root.title('Title') + root.mainloop() + + +if __name__ == '__main__': + main() diff --git a/example_003.py b/example_003.py new file mode 100644 index 0000000..2fb75ed --- /dev/null +++ b/example_003.py @@ -0,0 +1,15 @@ +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()