18 lines
347 B
Python
18 lines
347 B
Python
import tkinter as tk
|
|
|
|
class App(tk.Frame):
|
|
def __init__(self, master=None):
|
|
super().__init__(master)
|
|
self.pack()
|
|
|
|
# create the application
|
|
myapp = App()
|
|
|
|
#
|
|
# here are method calls to the window manager class
|
|
#
|
|
myapp.master.title("My Do-Nothing Application")
|
|
myapp.master.maxsize(1000, 400)
|
|
|
|
# start the program
|
|
myapp.mainloop() |